That's true...what I do is when the person has submitted their info on
a form, I have it query to see if that email has already been
registered in the database table, and if so, it returns an error that
says 'hey Joe, an account has already been created using that email
address' sort of thing.  It's super easy to do.

--- In php-list@yahoogroups.com, Pete <[EMAIL PROTECTED]> wrote:
> In message <[EMAIL PROTECTED]>, Marian Briones
> <[EMAIL PROTECTED]> writes
> >Another way:  What I always do is have the username be the person's
> >email address.  That eliminates problems right up front, plus the
> >person can remember their username. 
> 
> I also use email addresses.  However, it's not really another way -
> users could add their email address twice.
> 
> 
> > 
> >
> >--- In php-list@yahoogroups.com, Pete <[EMAIL PROTECTED]> wrote:
> >> In message <[EMAIL PROTECTED]>, oshiro03 <[EMAIL PROTECTED]>
> >> writes
> >> >
> >> >
> >> >i'm supposed to be doing some user account insertion thing...
> >> >
> >> >the problem is:
> >> > - how to make the *user table* duplicate free of the *username
field*
> >> 
> >> Make the username a unique index.
> 
> -- 
> Pete Clark
> 
> http://www.hotcosta.com
> http://www.spanishholidaybookings.com




Community email addresses:
  Post message: php-list@yahoogroups.com
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to