Strings are a very important kind of data, and you have to deal with them daily with web development tasks. In this article, I have compiled 10 extremely useful functions and code snippets to make your php developer life easier.
Automatically remove html tags from a string
On user-submitted forms, you may want to remove all unnecessary html tags. Doing so is easy using the strip_tags() function: