Received: from bee.lk ([203.143.12.182]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0G49D036242 for ; Mon, 15 Jan 2001 23:09:15 -0500 (EST) (envelope-from anuradha@bee.lk) Received: from anuradha (helo=localhost) by bee.lk with local-esmtp (Exim 3.12 #1 (Debian)) id 14IBtB-0007xs-00 for ; Mon, 15 Jan 2001 21:49:45 +0600 Date: Mon, 15 Jan 2001 21:49:45 +0600 (LKT) From: Anuradha Ratnaweera X-Sender: anuradha@bee.lk To: pgsql-php@postgresql.org Subject: boolean values and php Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200101/54 X-Sequence-Number: 119 I have an array in PHP which contains boolean values. The array is associative and its indices are the same as the column names of a table. I want to write to the database and read it back (with pg_fetch_array) without any additional manipulations. Please let me know if types are preserved when reading from the database. Thanks in advance. Regards, Anuradha