| From: | "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: PHP and PostgreSQL boolean data type |
| Date: | 2010-02-10 12:11:42 |
| Message-ID: | 20100210121142.GE17605@a-kretschmer.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-php |
In response to Thom Brown :
> Hi,
>
> A long-standing problem we've had with PostgreSQL queries in PHP is
> that the returned data for boolean columns is the string 'f' instead
> of the native boolean value of false.
http://andreas.scherbaum.la/blog/archives/302-BOOLEAN-datatype-with-PHP-compatible-output.html
Regards, Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431 2EB0 389D 1DC2 3172 0C99
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tommy Gildseth | 2010-02-10 12:13:22 | Re: PHP and PostgreSQL boolean data type |
| Previous Message | Thom Brown | 2010-02-10 12:04:23 | PHP and PostgreSQL boolean data type |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tommy Gildseth | 2010-02-10 12:13:22 | Re: PHP and PostgreSQL boolean data type |
| Previous Message | Thom Brown | 2010-02-10 12:04:23 | PHP and PostgreSQL boolean data type |