Dear forum...
I'm new to PHP and MySQL and need some help.
I'm running Mac OS X Panther, Apache, PHP and MySQL.
The story:
I'm working on a site where a user can register, PHP sends an email to the address the user submitted together with a random username and password. The user comes back and tries to login with his random username and password.
2 questions:
1 - What username and password should be used in the mysql_connect function when I store the user random username and password to the table?
2 - What username and password should be used in my mysql_connect function when the user comes back and login, or when he wants to change the random username and password?
I feel a bit dissoriented at the moment, can someone please tell me about this in a simple way?
BTW: I am a programmer so that part is no problem. 🙂
Thanks...