Subject | Re: [firebird-php] SQL script |
---|---|
Author | Thomas |
Post date | 2003-11-20T08:18:45Z |
Hi,
Yep, thats it.
If you have set magic_quotes_sybase to On in your php.ini, addslashes()
will also do that for you.
/thomas
Milan Babuskov wrote:
Yep, thats it.
If you have set magic_quotes_sybase to On in your php.ini, addslashes()
will also do that for you.
/thomas
Milan Babuskov wrote:
> Dorin Pacurar wrote:
>
>>How can I pass the SQL text with ' to a form ?
>
>
> I'm not 100% sure what is your question, but you probably need to escape
> ' with another ', ie. use '', like this:
>
> SELECT * FROM nba_player WHERE name = 'Shaquille O''neal';
>
> HTH
>