search

Home  >  Q&A  >  body text

php login registration function

The previous fatal error problem was solved because there was a problem with the database, but no matter what I entered, it always jumped directly to this page. . . Logically speaking, it should not jump to the login success page. . ?

< /p>

< /p>

The following is DB.php.
< /p>

< /p>

< /p>

The following is login.php.

< /p>

黄舟黄舟2778 days ago512

reply all(3)I'll reply

  • 高洛峰

    高洛峰2017-05-16 13:11:51

    The fatal error has been resolved. . . . . It seems to be a problem with mysql (ι´Д`)ノ. . . . . http://blog.csdn.net/u0127302...
    Using this method to solve the database problem. . .

    After many days of query and research, I found out why there was no data response. . .
    Because my php couldn't get the data transmitted by post for some reason. Later, it was solved by changing it to get. As for the post issue, it is still under study. . . . . . .

    reply
    0
  • 迷茫

    迷茫2017-05-16 13:11:51

    Please take a screenshot of the entire file

    reply
    0
  • 为情所困

    为情所困2017-05-16 13:11:51

    $nameParam = null;
    $passwordParam = null;
    What is going on?

    reply
    0
  • Cancelreply