duplicated entry for key #
| From: | nautilis | Date: | Mon, 17 Dec 2001 22:40:44 +0000 |
| Subject: | duplicated entry for key # | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-15074@lists.php.net to get a copy of this message | ||
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.