[PHP] addslashes q's

2001-10-03 Thread Caleb Carvalho

after enabling magic quotes with sybase,
now, i don't even need to addslashes..
the only problem is that is adding  quote when i say won't it adds won''t

does any one know why?

thanks a lot

Caleb Carvalho
Application Engineer
LoadRunner/APM
-
Enterprise Testing and Performance Management Solutions
-
Mercury Interactive
410 Frimley Business Park
Frimley, Surrey.  GU16 7ST
United Kingdom
Telephone :  +44 (0)1276 808300


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
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] addslashes q's

2001-10-03 Thread Rasmus Lerdorf

 after enabling magic quotes with sybase,
 now, i don't even need to addslashes..
 the only problem is that is adding  quote when i say won't it adds won''t

 does any one know why?

Because that is how a ' is supposed to be escaped in Sybase.

-Rasmus


-- 
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] addslashes q's

2001-10-03 Thread Caleb Carvalho

thanks,

how do i get the right output?



Caleb Carvalho
Application Engineer
LoadRunner/APM
-
Enterprise Testing and Performance Management Solutions
-
Mercury Interactive
410 Frimley Business Park
Frimley, Surrey.  GU16 7ST
United Kingdom
Telephone :  +44 (0)1276 808300



From: Rasmus Lerdorf [EMAIL PROTECTED]
To: Caleb Carvalho [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] addslashes q's
Date: Wed, 3 Oct 2001 09:15:49 -0700 (PDT)

  after enabling magic quotes with sybase,
  now, i don't even need to addslashes..
  the only problem is that is adding  quote when i say won't it adds 
won''t
 
  does any one know why?

Because that is how a ' is supposed to be escaped in Sybase.

-Rasmus


--
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]



_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
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] addslashes q's

2001-10-03 Thread Rasmus Lerdorf

stripslashes()

On Wed, 3 Oct 2001, Caleb Carvalho wrote:

 thanks,

 how do i get the right output?



 Caleb Carvalho
 Application Engineer
 LoadRunner/APM
 
-
 Enterprise Testing and Performance Management Solutions
 
-
 Mercury Interactive
 410 Frimley Business Park
 Frimley, Surrey.  GU16 7ST
 United Kingdom
 Telephone :  +44 (0)1276 808300



 From: Rasmus Lerdorf [EMAIL PROTECTED]
 To: Caleb Carvalho [EMAIL PROTECTED]
 CC: [EMAIL PROTECTED]
 Subject: Re: [PHP] addslashes q's
 Date: Wed, 3 Oct 2001 09:15:49 -0700 (PDT)
 
   after enabling magic quotes with sybase,
   now, i don't even need to addslashes..
   the only problem is that is adding  quote when i say won't it adds
 won''t
  
   does any one know why?
 
 Because that is how a ' is supposed to be escaped in Sybase.
 
 -Rasmus
 
 
 --
 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]
 


 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp



-- 
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]