note 8378 deleted from InterBase functions by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Fri, 08 Sep 2000 18:42:40 +0000 |
| Subject: | note 8378 deleted from InterBase functions by jmcastagnetto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4562@lists.php.net to get a copy of this message | ||
We have spent several hours searching for a solution for to insert the ' caracter succesfully
into a Interbase query. Interbase 6.0 for some reason uses the ' as escape character instead of
the .. writing as imple function to transofm ' into '' wil do the trick into the
insert mode but it will not work doing a select (since you'll have an added "
THE SOLUTION:
In the php.ini file set
magic_quotes_sybase = On ; Use Sybase-style magic quotes (escape ' with '' instead of
')
i hope this helps: :-)i am quite amazed this is not clearly stated anywere.
ketword: interbase escape character