I have a user-submission mysql which displays results on my page. The problem is that some nasty hackers submitted an iframe to a virus in the "name" field, which caused a lot of problems for me...
So, I want to disable people inserting iframes into my database. I really want this done from mysql perspective rather than php.
So, I want to have a column "name" which could only hold plain text elements. Any html tags would cause errors.
Is there a way to do this?