Postgres Warning - index 1

From: "Abe" <abe(at)fish(dot)tm>
To: "PostgreSQL General" <pgsql-general(at)postgresql(dot)org>
Subject: Postgres Warning - index 1
Date: 2001-01-16 23:37:40
Message-ID: 013701c08015$51b3cba0$9865fea9@win2k
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hey Guys,

I am using PHP to process this query - I get the error shown below: I
can't see why I should get this error as I have other similar queries that
work fine.

$sql = "insert into projects values('$number', '$description', '$date',
'$deadline', '$manager', '$csindex', '$status', '$dataentrycontact',
'$company', '$unique')";

$sql_result = pg_exec($connection,$sql) or die ("Couldn't execute query.");

Warning: 1 is not a PostgresSQL link index in
/www/vhtdocs/testarea/intranet/addproject.php3 on line 23

Any help appreciated.

Thanks,
Abe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew W. Nosenko 2001-01-16 23:57:59 pg_log
Previous Message Tom Lane 2001-01-16 23:31:41 Re: Waiting for postmaster to be completely started