Some time ago I resolved the problem with special characters and INSERT by modifying my code as follows:
This allowed me to use quotes, apostrophies, etc. without having to use "\" or a special character code like "'"Code:$progname=mysql_real_escape_string($_POST['progname']);
I tried replacingin UPDATE withCode:$progname=mysql_result($result,$i,"progname");but that doesn't work. In fact, it does nothing at all.Code:$progname=mysql_real_escape_string($_POST['progname']);


Reply With Quote
Bookmarks