RE: [PEAR] Re: DataObject null values
| From: | LIMBOURG Arnaud | Date: | Tue, 19 Aug 2003 06:35:08 +0000 |
| Subject: | RE: [PEAR] Re: DataObject null values | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-7287@lists.php.net to get a copy of this message | ||
> have a read of php-dev - nulls are very messy with PHP.. :)
>
> $object->somevalue = 'null';
>
> will translate to = NULL or somevalue IS NULL, when you write/search
> the database.. - reading from the database is dependant on PEAR's DB
> layer.. - which in turn I presume depends on the database binding..
Ok, to insert data i get that. But when fetching it's an empty string. I'll
have a look in php-dev and pear::db ;)
Arnaud.