If I remember the best things with M$ oriented database, is to to double
it so "'" should be "''" and it should be ok. Anyway, that's what I do
when I have to do stuff with those software.

garman wrote:
> 
> >===== Original Message From Duncan Hill <[EMAIL PROTECTED]> =====
> >On Mon, 16 Jul 2001, garman wrote:
> >
> >> box where the user enters a description of the item he is selling.
> >> If the user's input contains an apostrophe (aka a single quote "'")
> >> or even a double quote, the code gets confused.
> >
> >addslashes()
> >
> >RTM :)
> 
> I was originally using regular expressions to achieve the same effect as
> addslashes().  But I switched to addslashes() anyway, and the problem
> persists.
> 
> My guess is that MS Access uses a method other than slashes to escape quotes.
> 
> Matt
> 
> --
> 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]

-- 
Francis Fillion, BAA SI
Broadcasting live from his linux box.
And the maintainer of http://www.windplanet.com

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

Reply via email to