Re: Having trouble with inserting strings into Oracle8i via php
| From: | Rasmus Lerdorf | Date: | Mon, 17 Jul 2000 07:16:29 +0000 |
| Subject: | Re: Having trouble with inserting strings into Oracle8i via php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6880@lists.php.net to get a copy of this message | ||
> Having trouble with inserting strings into Oracle8i via php.
> If a string has an apostrophe I get errors, how do I insert a string
> with single quotes/apostrophe into oracle via PHP?
Turn on magic_quotes_sybase
Then either turn on magic_quotes_gpc or call AddSlashes() manually on any
strings before inserting them.
-Rasmus