T tried, but all codes with some errors like followings.
I don't know how to modify it, can anyone give me a working example.
Anything I can do?
Warning: Access denied for user: 'dbusername@localhost' (Using password: YES) in /home/GCO01/public_html/AS2/register.php on line 13
Warning: MySQL Connection Failed: Access denied for user: 'dbusername@localhost' (Using password: YES) in /home/GCO01/public_html/AS2/register.php on line 13
Could not establish connection
you mean, once the user has entered all the details you want it to tell you if the user alreayd exisits in the database so duplicate names and email address cant be created?
No. I want to change it to login only, when user type in the user name and password, if it's exisit in my database, show a welcome message, otherwise show error message and ask to relogin.
Comments
or just refer to these tutorials for creating a membership system.
http://www.devdreams.com/tutorials/t/61
http://www.devdreams.com/tutorials/t/62
http://www.devdreams.com/tutorials/t/63
I don't know how to modify it, can anyone give me a working example.
Anything I can do?
Warning: Access denied for user: 'dbusername@localhost' (Using password: YES) in /home/GCO01/public_html/AS2/register.php on line 13
Warning: MySQL Connection Failed: Access denied for user: 'dbusername@localhost' (Using password: YES) in /home/GCO01/public_html/AS2/register.php on line 13
Could not establish connection