Display error on php

后端 未结 1 1888
甜味超标
甜味超标 2021-01-23 06:59

// I have updated my code php and improve my question

i have a login form, and when i wrong password i don\'t have this error:

\"your are not regi

1条回答
  •  有刺的猬
    2021-01-23 07:25

    isset will return a boolean result and therefor needs to be written more like this if you want that code block to execute:

    if (isset($_POST['submit']) && $_POST['submit'] == "Login")
    

    0 讨论(0)
提交回复
热议问题