Greets Folks,

I am developing a registration area for a members site
that will interface with a MySQL DB users table, and I
ran into a problem or two.  Note that I am using DBI
as my DB Driver.

First, the simple stuff. I need a way to (at run-time)
confirm all the fields have been filled in, and, if
one has been overlooked, then to notify the user where
they missed.

Second, suppose they try a username that has already
been taken.  I need a way to kick back an error
message
to them.  I tried setting the username field in the
usrs table to UNIQUE, so that might help if someone
tried to insert something already taken... I was
thinking that if MySQL kicks back an error message,
then DBI might be able to recongize it in such a way
that I could use the return value... I dont know if
that is completely feasible though...  there may be
other, better ways anyway... so I'm all ears...

Any help much appreciated.

Thanks,

Will



__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to