search

Home  >  Q&A  >  body text

Why another if sentence?

if ($username == $row['username'] && $pwd == $row['password'])

Isn’t the above sql already judged?

胡涂胡涂1738 days ago1041

reply all(1)I'll reply

  • WJ

    WJ2020-05-21 09:22:19

    It should be more rigorous. You can judge some other logic in the if, such as whether the user is bound, etc.

    reply
    0
  • Cancelreply