I\'m trying to protect myself from sql injection and am using:
mysql_real_escape_string($string);
When posting HTML it looks something like
I was wondering why this routine doesn't have a accompanying decoder routine. Its probably interpreted by MySQL the exact same way as if it were not escaped. You get the un-escaped results when you do a $row=mysql_fetch_array($res, MYSQL_ASSOC)';
$row=mysql_fetch_array($res, MYSQL_ASSOC)';