> >===== 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.

Probably ''

Turn on magic_quotes_sybase in your php.ini file and it should work.


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