Hey, I am making a news article comment script and I want to code it so that when somebody puts html tags in the comment, it won't execute the html but just display the tags.
In the database I have the comment field set up as
Type: Text
Null: Yes
and in the script I just connect to the database and then echo the variable.
How can I make it so that when echoing the variable it won't execute the html?
Thanks to anyone that helps!





Bookmarks