Simple PHP MySQL Login Tutorial by Jay Watson




PHP MySQL Login System Tutorial Download Completed Code: http://mrwatson.tk/wp-content/uploads/2016/01/login.zip.

source


39 responses to “Simple PHP MySQL Login Tutorial by Jay Watson”

  1. NOTE FOR EXPRESSION WEB 4 USERS: it may look like your header(Location:xxx.php); instruction isn't working, but it really might be!Β  For whatever reason, the preview function can kill it sometimes. Before you spend 9 hours trying a bunch of different tutorials and doing it over and over (Jay's really has been the best so far because he explains it VERY well), open your browser manually and type in your folder from the localhost/htdocs/…Β  I promise it will be like magic and you will stop hating your computer.

  2. I keep having some errors it drives me insane…

    The user fred doesn't exist…. and the variable dbUsername = dbusername without the capitalisation.

    Warning: mysqli_connect(): (HY000/1045): Access denied for user 'fred'@'localhost' (using password: YES) in C:apachehtdocsloginconnection.php on line 2
    Failed to connect: Access denied for user 'fred'@'localhost' (using password: YES)
    Warning: mysqli_query() expects parameter 1 to be mysqli, boolean given in C:apachehtdocsloginindex.php on line 11

    Notice: Undefined variable: dbUsername in C:apachehtdocsloginindex.php on line 19
    Incorrect Password

  3. above my login on top of the "wrong password…" it says :"Warning: mysqli_query() expects parameter 1 to be mysqli, null given in C:xampphtdocs…….index.php on line 11.
    Also it won't let me login with the correct information, but maybe that's because of the error.. I tried echoing the database variables ($dbUsername, $dbPassword) but it doesn't echo/show anything at all.

  4. Hi guys, I am incredibly busy at this time, so I'm really not able to provide much support. With that said, I will respond when I can, and I've now provided the link to download the completed code in the video description.

  5. Hello Jay! This is a wonderful online tut, and my problem is that even I used the correct user name and password, it is still echoing the "Incorrect username or password." and I believe I have coded after you line by line….

  6. Mine just keeps going to my index.php when I click on the submit button. It's not even in my code that it should do that. I changed that. It won't echo out my variables it just goes to my index.php no matter what.

Leave a Reply