InterviewSolution
Saved Bookmarks
| 1. |
How to remove HTML tags from data in PHP? |
|
Answer» With the help of strip_tags(), we can REMOVE HTML tags from DATA in PHP. The strip_tags() function strips a STRING from HTML, XML, and PHP tags. strip_tags(string,allow) The first parameter is required. It SPECIFIES the string to check. The second parameter is OPTIONAL. It specifies allowable tags. Mention tags will not be removed |
|