How to prevent my php comment box from outputing html codes...?
How to prevent my php comment box from outputing html codes and turning urls to a hyperlink ?
my comment box takes data from database.
Public Comments
- After you retrieve the data from the database, filter it through the strip_tags function. This will remove any and all HTML and PHP tags from a string, except the tags you want to keep. http://us3.php.net/strip_tags
Powered by Yahoo! Answers