Page 1 of 1

O'Neil changes to O/////////'Neil PHP/mysql

Posted: Wed May 07, 2003 10:23 am
by wyne1234
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