Im trying to figure out how I can disable users on my site from being able to post html codes within a form I have on my website. Wondering if anyone has a quick fix for this?
Try using strip_tags() which should strip all html tags.. But if there is any broken html tag it might strip non html data as well..