Re: [PHP] speechmarks

2001-09-26 Thread Christian Reiniger

On Wednesday 26 September 2001 01:07, Andrew Austin wrote:
 What is the method for mySQL to surround single speechmarks as in 
 (don't) so it will be accepted in an SQL statement.

http://php.net/addslashes

-- 
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)

Error 032: Recursion error - see error 032

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] speechmarks

2001-09-25 Thread Jack Dempsey

Put a slash in front of it:

don't = don\'t

-jack

-Original Message-
From: Andrew Austin [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, September 25, 2001 7:08 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP] speechmarks

What is the method for mySQL to surround single speechmarks as in
(don't) so it will be accepted in an SQL statement.

thanks in advance

Andrew
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]