Solution: Access single quote escape

From: Date: Tue, 11 Oct 1988 15:08:02 +0000
Subject: Solution: Access single quote escape
Groups: php.windows 
Request: Send a blank email to php-windows+get-3156@lists.php.net to get a copy of this message
Hi All After a little research I found a solution. The escape character for a single quote is in fact another single quote, not a \. If one turns on the magic_quotes_sybase directive On and uses the addslashes function, php turns all ' into ''. Problem solved. No need for AccessAddSlashes! Thanks to John for the help. Warwick Chapman (1999) Assistant IT Manager Glenwood High School, Durban, South Africa 031 2055241 083 7797094 www.glenwoodhighschool.co.za

« previous php.windows (#3156) next »