Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001062

Re: [PHP-DB] Informix question From: Christian Haul (haul <email protected>)
Date: 06/21/01

Bård Farstad <bf <email protected>> 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.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>