georgeocrawford
Technical User
Hi,
How can I validate the contents of my html form using php to remove all the characters which will conflict with MySql?
(e.g. I tried to submit the word you're from a form, which created an error because of the apostrophe.)
I don't actually know which characters are not allowed in MySql, so I could do with a list of them!
My sql field types are all either blob, varchar or date.
Thanks
How can I validate the contents of my html form using php to remove all the characters which will conflict with MySql?
(e.g. I tried to submit the word you're from a form, which created an error because of the apostrophe.)
I don't actually know which characters are not allowed in MySql, so I could do with a list of them!
My sql field types are all either blob, varchar or date.
Thanks