RE: [PHP] creating table help

2002-04-19 Thread Craig Vincent
> Warning: Wrong parameter count for pg_exec() in > /var/www/html/elkan/createtable.php on line 23 > The table, ghdsl could not be created > if (pg_exec($dbname, $query, $connect)) I assume pg_exec is a synonym for pg_query (the pg_exec command does exist in the PHP docs). According to the fun

Re: [PHP] creating table help

2002-04-19 Thread Tyler Longren
/en/function.pg-query.php Anyway, you get that error because you have too many (or too few) parameters in your pg_exec() function. - Original Message - From: "webmaster" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 5:40 AM Subject: [PHP] creating t

[PHP] creating table help

2002-04-19 Thread webmaster
I'm very new to php and PostgreSQL. I keep getting the following error when I try to create a table: Warning: Wrong parameter count for pg_exec() in /var/www/html/elkan/createtable.php on line 23 The table, ghdsl could not be created Here is the code I'm using: thanks for any help. -- PHP