There is something called constraints in the database (generally).
You have to set that field in the database, to unique, or make a "unique"
index on that field.

regards.

idsarts.

-----Mensaje original-----
De: Web Admin [mailto:[EMAIL PROTECTED]]
Enviado el: Domingo, 25 de Febrero de 2001 10:26 a.m.
Para: Brandon Feldhahn; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Asunto: [PHP-DB] Re: [PHP] No same username


define a UNIQUE field :)

  ----- Original Message -----
  From: Brandon Feldhahn
  To: [EMAIL PROTECTED] ; [EMAIL PROTECTED] ;
[EMAIL PROTECTED]
  Sent: Sunday, February 25, 2001 4:03 PM
  Subject: [PHP] No same username


  how do i make somthing with my database that knows it the username
  entered is already a name in use?


  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to