note 24057 modified in function.ibase-query by philip

From: Date: Sat, 10 May 2003 23:54:19 +0000
Subject: note 24057 modified in function.ibase-query by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-47823@lists.php.net to get a copy of this message
[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. --was-- 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. http://www.php.net/manual/en/function.ibase-query.php

« previous php.notes (#47823) next »