... - Mailing list pgsql-php

From S.P.Vimala
Subject ...
Date
Msg-id Pine.LNX.4.33.0309151528290.4957-100000@trinetra.ncb.ernet.in
Whole thread Raw
Responses Re:  ("scott.marlowe" <scott.marlowe@ihs.com>)
List 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.....



pgsql-php by date:

Previous
From: "Tran Anh Tu"
Date:
Subject: Re: Help me
Next
From: "scott.marlowe"
Date:
Subject: Re: