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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-php by date

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