From: "S(dot)P(dot)Vimala" <vimala(at)ncb(dot)ernet(dot)in>
To: <pgsql-php(at)postgresql(dot)org>
Cc: Vimala-SP <vimala(at)ncb(dot)ernet(dot)in>
Subject:
Date: 2003-09-15 10:00:23
Message-ID: Pine.LNX.4.33.0309151528290.4957-100000@trinetra.ncb.ernet.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

Hi,

I have a table in postgresql db with the following description.

- Table: vyapar_user
CREATE TABLE vyapar_user (
loginid varchar(150) NOT NULL,
name varchar(150) NOT NULL,
"password" varchar(32) NOT NULL,
"type" varchar(10) NOT NULL,
address varchar(100) NOT NULL,
phone varchar(15),
email varchar(20),
creationdate date DEFAULT date('now'::text),
expriydate date DEFAULT (date('now'::text) + 360),
CONSTRAINT vyapar_user_pk PRIMARY KEY (loginid)
) WITH OIDS;

If i try inserting NULL values from backend, then it gives me an
error. But thru php, its adds null values without any errors. Any idea
how to solve this issue.....

Responses

  • Re: at 2003-09-15 17:05:25 from scott.marlowe

Browse pgsql-php by date

  From Date Subject
Next Message James Ward 2003-09-15 12:18:48 pg_connect(): ...Too many open links (0)
Previous Message Tran Anh Tu 2003-09-15 05:17:42 Re: Help me