Returning boolean values with pear::db
| From: | Don Robertson | Date: | Thu, 04 Dec 2003 01:15:36 +0000 |
| Subject: | Returning boolean values with pear::db | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-9288@lists.php.net to get a copy of this message | ||
Hi,
I am using Pear DB to get boolean values from a postgres database. The
values get returned as t or f, which PHP does not understand as booleans.
Is there any way to make the pear libraries or postgres to return something
PHP understands as boolean?
Don
--
Don Robertson
don@robertson.net.nz
www.robertson.net.nz
021 162 6255
Linux Business Systems