note 24057 deleted from function.ibase-query by didou
| From: | didou@php.net | Date: | Sun, 27 Jul 2003 18:54:04 +0000 |
| Subject: | note 24057 deleted from function.ibase-query by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-52788@lists.php.net to get a copy of this message | ||
Note Submitter: baatsaamSPAMSUCKS@hotmail.com
----
[Editors note: If you want addslashes() to create '' instead of \' than enable the
magic_quotes_sybase directive]]
In Interbase, if a string has a single quote:
$field = "foo's";
for that to work in an insert/update statement you have to change in to "foo''s"
(two single quotes). Unfortunately addSlashes() doesn't work.