Checking for 2 unique row contents

From: Date: Wed, 27 Mar 2002 08:27:21 +0000
Subject: Checking for 2 unique row contents
Groups: php.db 
Request: Send a blank email to php-db+get-17935@lists.php.net to get a copy of this message
Hi all I am trying to create a registration area that uses a nickname and email pair. I need both to be unique. So how do I that either do not already exist then if unique insert into db. So if nickname exist then error = "sorry..." if email exist then error = "sorry..." else must be unique insert. I have been trying for hours know but cant get the twin check to work. Can get single check to work though. I thank you in advance for any thoughts or code examples Dave Carrera Php Developer http://davecarrera.freelancers.net http://www.davecarrera.com

« previous php.db (#17935) next »