[PHP-DB] Re: Checking for 2 unique row contents

2002-03-27 Thread Frank Flynn
So you have one table with the fields 'email' and 'nickname' (perhaps others too) and and given: $email = '[EMAIL PROTECTED]' $nickname = 'stinky' You wish to be sure that no other record has either that email _or_ that nickname. Correct? You could run: select * from where email = $email

[PHP-DB] Re: Checking for 2 unique row contents

2002-03-27 Thread Adam Royle
Simple do these checks and you'll be sweet as a nut Adam // you might have this at the top of your form to show the error messages \n"; for($i=0;$i\n"; } echo "\n"; } ?> > Hi all > > > > I am trying to create a registration area that uses a nickname and email