Suggested articles for you:

57 thoughts on “Complete Login and Registration Application using PHP and MySQL

  1. blankNaiseee

    admin

    *Website Error: Contact admin to have the issue fixed????? why

    Reply
  2. blankvishal

    I can’t believe It’s working 10000000% without any error. Thank you a thousand time. God bless you. Its amazing keep it up. again thank you for this unthinkable work and thanks for giving this source code for us for 100% Free.

    Reply
  3. blankGodson

    ….Please that’s not the answer am looking for? The index is blocking the logging veiw how can I remove it for logged in users. If I try to edit the code, I get error please just write a comment on how I can change that thanks in advance…..

    Reply
    1. blankRavi Bandakkanavar Post author

      Hi,

      What is your requirement? Do you not wish to have index.php?

      Do you want to remove this – “Let us walk you through Complete Login and Registration Application using PHP and MySQL” ?

      Reply
  4. blankHuseyn

    Signing up for the same email for the second time does not generate an error “this email is already in use”. and re-register from the same post. how can we fix this?

    Reply
    1. blankRavi Bandakkanavar Post author

      Hi Huseyn,
      Could you please check in your database whether the email(username) that you are using is already present in your database?

      Reply
      1. blankHuseyn

        If there is a username, it gives an error. However, if the e-mail has been used, it does not give an error and is overwritten by the same e-mail.

        screen: https://prnt.sc/usufqd

        Reply
        1. blankRavi Bandakkanavar Post author

          That’s correct. It is working as per the logic. If you check our conditions, only the duplicate check is done for userName.

          / checking if a user already exists with the given username
          $sql = “select uidUsers from users where uidUsers=?;”;

  5. blanksanju

    Warning: mysqli_connect(): (HY000/1045): Access denied for user ‘Email’@’localhost’ (using password: YES) in C:\xampp\htdocs\Complete-Login-and-Registration\includes\dbh.inc.php on line 8
    Connection failed: Access denied for user ‘Email’@’localhost’ (using password: YES)
    i got these kind of msg, my DB name are correct as in MYSQL.. What I need to do?

    Reply
    1. blankRavi Bandakkanavar Post author

      Hi Sanju,

      The username and passwords that you are using in the application are wrong.
      Try logging into MySQL console using the same username and password. Please validate your credentials.

      Reply

Did it help? Would you like to express?