PHP 4 and Mysql set up and all works well except when a users name has an " ' " in it like O'Neil, when this goes into the database it gets changed to O////////'Neil
I cannot figure out how to stop this. I have added the stripslashes function before writing the fields to the database and this does nothing. I cannot find anything else that relates to this issue.
Any suggestions would be appreciated.
Wayne
O'Neil changes to O/////////'Neil PHP/mysql
Moderator: General Moderators