Re: Oracle8i large text (CLOB) inserts
| From: | Chris Murtland | Date: | Wed, 11 Oct 2000 04:22:24 +0000 |
| Subject: | Re: Oracle8i large text (CLOB) inserts | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-3505@lists.php.net to get a copy of this message | ||
I used
$body=ereg_replace("'","''",$body);
and now it seems I can insert things just fine. Will I run into problems using this approach?
Chris
> I know this has been addressed before, and believe me, I have searched the archives, but
> I'm still having trouble figuring out how to insert large amounts of text into Oracle8i using
> PHP. The server I'm working on doesn't have magic_quotes_sybase turned on. Is there any
> function I can write myself that will correctly prepare the text to be inserted into Oracle? I also
> want to preserve line breaks to be able to later convert to html <p> tags.
>
> Thanks,
> Chris Murtland
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net