From: A. Kretschmer <andreas.kretschmer@schollglas.com>
To: pgsql-general@postgresql.org
Subject: Re: PHP and PostgreSQL boolean data type
Date: Wed, 10 Feb 2010 13:11:42 +0100
Message-ID: <20100210121142.GE17605@a-kretschmer.de> (raw)
In-Reply-To: <bddc86151002100404o76e1acc9r469d82a49284b7b5@mail.gmail.com>
References: <bddc86151002100404o76e1acc9r469d82a49284b7b5@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: andreas.kretschmer@schollglas.com, pgsql-general@postgresql.org
Subject: Re: PHP and PostgreSQL boolean data type
In-Reply-To: <20100210121142.GE17605@a-kretschmer.de>
References: <bddc86151002100404o76e1acc9r469d82a49284b7b5@mail.gmail.com> <20100210121142.GE17605@a-kretschmer.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox