Create your Own Website > HTML, PHP

Remove HTML Tag from a PHP String

(1/1)

bbasujon:
To remove all the HTML tags from your PHP string we can easily use strip_tags ($YourStrings) or preg_replace ('/<[^>]*>/', '', $YourStrings)

Navigation

[0] Message Index

Go to full version