Subject Re: [firebird-php] SQL script
Author Thomas
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:
> 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
>