Re: Informix question
| From: | Christian Haul | Date: | Thu, 21 Jun 2001 09:43:24 +0000 |
| Subject: | Re: Informix question | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-9688@lists.php.net to get a copy of this message | ||
Bård Farstad <bf@ez.no> wrote:
> Hi all,
> I'm writing an application which uses the PHP interface to informix. I'm
> having trouble with newlines in char/varchar or lvarchar fields.
> How can I store newlines (\n) to an informix database without using blobs?
You need to escape newlines or replace them eg. with <br>.
Chris.