note 18304 added to ref.odbc

From: Date: Thu, 17 Jan 2002 18:03:56 +0000
Subject: note 18304 added to ref.odbc
Groups: php.notes 
Request: Send a blank email to php-notes+get-24988@lists.php.net to get a copy of this message
Adding to the previous post about "trouble with apostrophies", simply converting each single apostrophie into two apostrophies works for me. Use something like: //if magic_quotes_gpc = Off $myInput = ereg_replace("'","''",$myInput); //if magic_quotes_gpc = On $myInput = ereg_replace("\'","''",$myInput); -- http://www.php.net/manual/en/ref.odbc.php http://master.php.net/manage/user-notes.php?action=edit+18304 http://master.php.net/manage/user-notes.php?action=delete+18304 http://master.php.net/manage/user-notes.php?action=reject+18304

« previous php.notes (#24988) next »