note 18304 deleted from ref.odbc by sniper

From: Date: Tue, 04 Nov 2003 00:37:53 +0000
Subject: note 18304 deleted from ref.odbc by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-59759@lists.php.net to get a copy of this message
Note Submitter: mr.soetjianto@mail.tju.edu ---- 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);

« previous php.notes (#59759) next »