note 47011 deleted from function.pg-query by tularis

From: Date: Sat, 30 Oct 2004 14:29:54 +0000
Subject: note 47011 deleted from function.pg-query by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-79361@lists.php.net to get a copy of this message
Note Submitter: rolechka at brovary dot info ---- Help me, please. I must create table/ I do this with next code: $query = "CREATE TABLE test( ip text, name integer, date timestamp (1) without time zone DEFAULT CURRENT_DATE, comment text ); "; $result = pg_query($connection, $query); But always I have the next warning on my html page: Warning: pg_query() [function.pg-query]: Query failed: ERROR: relation "test" already exists in /home/rolechka/public_html/test.php on line 166 With what functions I can catch this warning? pg_last_notice() don't help me :( ---- Reason: spam

« previous php.notes (#79361) next »