Menu
Hi all,
New to php/mysql.
When I execute the mysql_connect when a visitor either doesn’t need a login/password or doesn’t have one (like on a registration page), what username/password do I use? I found a login script on phpsense and got it to work by using a username/password I had added previously, but I don’t know what the ‘theory’ is about handling these situations. Do I setup just a random username/pass for situations like that? Am I suppose to have an anonymous user that will allow it to work in those situations? Please advise.
Thanks in advance