Checking before INSERT

From: Date: Sat, 09 Dec 2000 06:46:57 +0000
Subject: Checking before INSERT
Groups: php.db 
Request: Send a blank email to php-db+get-5122@lists.php.net to get a copy of this message
Can someone tell me how to check that a row doesn't exist before I add it? Do I really have to create a conditional using $query, pg_Exec, and pg_result as the conditions? I've looked thru the PHP manual and the postgres sites and came up with nothing. Thanks, John

« previous php.db (#5122) next »