Re: Replace of ' in a query

From: Date: Tue, 17 Feb 2004 19:43:07 +0000
Subject: Re: Replace of ' in a query
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-22874@lists.php.net to get a copy of this message
Hi Carlos, you have to quote your string. Either: http://www.php.net/addslashes or, if you use a database, i.e. MySQL, it would be better to use this: http://www.php.net/mysql-escape-string Cheers Torsten

« previous php.windows (#22874) next »