Menu
I’ve begun to experiment with login systems using PHP and MySQL. What would be the correct way to retrieve someone’s username and password from the database, and then store it in variables?
[code=php]SELECT testusername FROM usernames
SELECT testpassword FROM passwords
$username = testusername;
$password = testpassword;
Would that be correct?