Hi Guys,
I've got this problem which you may be able to solve.
When people add information to my database through a form, if they use " or ' it creates an error in the insert query.
To get rid of the " I'm using
$variable = HTMLSpecialChars($variable);
this changes the " to "
however this command can't be used to replace the ' symbol
This is obviously a security problem and besides that it breaks the insert query off and thereby creating an eror. Any ideas to best solve this problem?
Thanx in advance,
Big Red