Hi.
I have a forum-type page where users can post text.
The contents of the posts are all listed on the page, somewhat like a guestbook.
Here's where the problem lies: Although I strip_tags() with most HTML tags on their posts, I allow them to use certain ones such as hyperlink and bold and italics. The problem lies in the fact that once in a while a user will screw up their html and their tag will spill onto the rest of the page.
I've been searching for a php command to make sure all the HTML tags in a string are closed by the end of the string.
I don't believe it's in the normal library. Does anyone have any suggestions or have been faced with this problem before?
Thank you,
Harlan