Hi everybody!

My problem is:

I have a form to allow users in a website to register. My problem is that
when someone registers a name that is alredy taken, mysql returns a
'Duplicate entry 'username' for key 1.

I just want to show a message to user telling that the username is in use by
another user and prompting him to choose a new one.

I am a newbie at php and mysql so any help will be greatly appreciated.

PHP Database 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