suchen

Heim  >  Fragen und Antworten  >  Hauptteil

Warum ein weiterer Wenn-Satz?

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

Ist das obige SQL nicht bereits beurteilt

?
胡涂胡涂1738 Tage vor1043

Antworte allen(1)Ich werde antworten

  • WJ

    WJ2020-05-21 09:22:19

    应该是为了更严谨 可以在if里面判断一些其他逻辑 比如用户是否绑定 等

    Antwort
    0
  • StornierenAntwort