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
I checked the php manual, and there doesn't seem to be a pg_exec function. You'll probably be able to use pg_query instead. But that error makes it sound like pg_exec is a valid function for your version of PHP, maybe it's not in newer versions. http://www.php.net/manual/en/function.pg-query.php