public inbox for [email protected]
help / color / mirror / Atom feedFrom: Andy Anderson <[email protected]>
To: [email protected]
Subject: Re: Quoting "
Date: Wed, 30 Apr 2008 12:51:45 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
> On Wed, Apr 30, 2008 at 9:10 AM, Andy Anderson
> <[email protected]> wrote:
>> In a test I just did, the sequence \" (backslash double-quote) is
>> interpreted as just a " inside of the E'...' string constant
>> expression.
>> This is great, since PHP's addslashes() sticks them in along with
>> the other
>> stuff I really need to quote like ' and \.
On Apr 30, 2008, at 11:52 AM, Scott Marlowe wrote:
> Why are you using php's addslashes() function? Is there something
> missing from pg_escape_string()??? Or are you doing something else
> I'm not thinking of?
Yep, relying on what I already know to move forward on my project,
rather than browsing the manual for things I didn't know I needed :-).
Thanks for the tip.
-- Andy
view thread (11+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Quoting "
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox