Skip site navigation (1) Skip section navigation (2)

Re: Please help: PHP4/postgres db woes

From: Robby Russell <rrussell(at)commandprompt(dot)com>
To: "Danny O'Brien" <dannyo(at)steinrogan(dot)com>, pgsql-php(at)postgresql(dot)org
Subject: Re: Please help: PHP4/postgres db woes
Date: 2004-03-09 16:04:39
Message-ID: 404DEB17.7090902@commandprompt.com (view raw or flat)
Thread:
Lists: pgsql-php
Danny O'Brien typed this on 03/09/2004 07:45 AM:
> 
> My next test was an attempt to manually enter values into the database  
> (called "ourdb" for the sake of this test):
> 
> ourdb=# INSERT INTO usr (id, fname, lname, login, password, admin_flag,  
> client_id) VALUES (4, 'Fred', 'Friendly', 'Fred', 'xxxxx', 'A', 1)
> ourdb-#
> 

Typically, you would end your INSERT statement with a ';'

In your example, you do not, otherwise the db would give you back some 
sort of response.

> The database did not accept the new information. Why not? More  
> questions....
> 

-Robby

-- 
Robby Russell,  |  Sr. Administrator / Lead Programmer
Command Prompt, Inc.   |  http://www.commandprompt.com
rrussell(at)commandprompt(dot)com | Telephone: (503) 222.2783

In response to

Responses

pgsql-php by date

Next:From: Danny O'BrienDate: 2004-03-09 16:15:25
Subject: Re: Please help: PHP4/postgres db woes
Previous:From: David CostaDate: 2004-03-09 16:01:34
Subject: Re: Please help: PHP4/postgres db woes

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group