Re: [PHP] Checking for NULL value in Database

2002-06-18 Thread Andre Dubuc
Thanks Dan, In the interim, I solved my problem. As you said, the first query needed to be INSERT (that I figured out after spending some 'thoughtful' time with my beloved code :>, and I also eliminated the extra pg_connect. After that, it still wouldn't work. Looking at the mess from pgsql (

Re: [PHP] Checking for NULL value in Database

2002-06-18 Thread Analysis & Solutions
On Mon, Jun 17, 2002 at 10:46:27AM -0400, Andre Dubuc wrote: > I'm tryiing to append entries in a db textarea field 'rbook'. Everything > works fine IF there is an existing entry. However, if no entries exist, it > nothing is written to the db. (PostgreSQL 7.2) I'm not familliar with PostgreSQL