PHP - Undefined variable

后端 未结 9 757
星月不相逢
星月不相逢 2021-01-26 05:29

I\'m doing some exercises from Beginners PHP & MySQL by Mr. Tucker.

On his example everything works fine, but on my PC there is an error:

9条回答
  •  南笙
    南笙 (楼主)
    2021-01-26 05:48

    You should define $passwordRetrieved before using it. This notice does not affect it at all.

    To avoid this, define it:

    $thisScriptName = "loginForm.php";
    
    $passwordRetrieved;
    

提交回复
热议问题