Subject | RE: [firebird-php] Escaping strings |
---|---|
Author | Alan McDonald |
Post date | 2004-02-12T11:58:12Z |
maybe I have it round the wrong way - the magic quotes inserts the extra
quote and that converts the SQL statement into the double, FB then strips
out the extra one before storage. Is that correct?
Alan
-----Original Message-----
From: Alan McDonald [mailto:alan@...]
Sent: Thursday, February 12, 2004 10:33 PM
To: firebird-php@yahoogroups.com
Subject: [firebird-php] Escaping strings
I have
magic_quotes_sybase = on
in my ini file and I get single quotes doubled as expected...
Does FB automatically unescape two single quotes when you retrieve the
string value? (or rather should it?) I can;t seem to do it automatically
and
I'd rather not have to manually unescape every string I retrieve.
thanks
Alan
[Non-text portions of this message have been removed]
----------------------------------------------------------------------------
--
Yahoo! Groups Links
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/firebird-php/
b.. To unsubscribe from this group, send an email to:
firebird-php-unsubscribe@yahoogroups.com
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
quote and that converts the SQL statement into the double, FB then strips
out the extra one before storage. Is that correct?
Alan
-----Original Message-----
From: Alan McDonald [mailto:alan@...]
Sent: Thursday, February 12, 2004 10:33 PM
To: firebird-php@yahoogroups.com
Subject: [firebird-php] Escaping strings
I have
magic_quotes_sybase = on
in my ini file and I get single quotes doubled as expected...
Does FB automatically unescape two single quotes when you retrieve the
string value? (or rather should it?) I can;t seem to do it automatically
and
I'd rather not have to manually unescape every string I retrieve.
thanks
Alan
[Non-text portions of this message have been removed]
----------------------------------------------------------------------------
--
Yahoo! Groups Links
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/firebird-php/
b.. To unsubscribe from this group, send an email to:
firebird-php-unsubscribe@yahoogroups.com
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]