Automatically remove html tags from a string
Language:: PHP Type:: Back-end
On user-submitted forms, you may want to remove all unnecessary html tags. Doing so is easy using the strip_tags() function:
$text = strip_tags($input, "");
Source: http://phpbuilder.com/columns/Jason_Gilmore060210.php3?page=2
📇 Additional Metadata
- 🗂 Type::#type/snippet
- 🏷️ Tags::
- 📡 Status::#status/🌲