Re: Having trouble with inserting strings into Oracle8i via p hp
| From: | David Robley | Date: | Mon, 17 Jul 2000 07:13:01 +0000 |
| Subject: | Re: Having trouble with inserting strings into Oracle8i via p hp | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6879@lists.php.net to get a copy of this message | ||
On 17 Jul, Richard Yaker wrote:
> 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?
>
> Thanks
> Rich
>
There are some configuration settings magic_quotes_xxxx or you can do
your own with addslashes() and stripslashes().
Cheers
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA