Question : how can i escape apostrophe in mysql

Hello i am facing a problem each entry have a " ' " apostrophe mysql update or insewrt is returing an error ! it can add it to the database so how can i escape it ! and fix the update or insert .
Thanks.
 

Answer : how can i escape apostrophe in mysql

just an update..

you may also do so..


$cleanstring = mysql_real_escape_string($yourstring);
Random Solutions  
 
programming4us programming4us