I fixed it. But I'm not clear on why. The following code ie. taking the
content and blatently putting the content through addslashes():

$descrip_field=addslashes($descrip_field);

Fixed it. But the code:

if (!get_magic_quotes_gpc()) {
   $descrip_field = mysql_real_escape_string($descrip_field);
}

Did *not* fix it. So, to simplify this. Why would addslashes work and
the other code (which I see often as a "recommend" way to escape) not
work? This is a PHP question I suppose but I wanted to end the thread.
Sorry if I did not supply enough info up front for you to support.

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to