Use Of Undefined Constant in script

后端 未结 3 1020
粉色の甜心
粉色の甜心 2021-01-29 08:39

I\'ve searched the site and saw fixes for the issue in which the user should have put single quotes around the variable but I still a bit confused.

Errors: (all refer to

相关标签:
3条回答
  • 2021-01-29 08:50

    Change this line, you forgot the $ infront of the variables:

    $user_ok = evalLoggedUser($con,$log_id,$log_username,$log_password);
    
    0 讨论(0)
  • 2021-01-29 08:52
    $user_ok = evalLoggedUser($con,log_id,log_username,log_password);
    

    change to:

    $user_ok = evalLoggedUser($con,$log_id,$log_username,$log_password);
    
    0 讨论(0)
  • 2021-01-29 09:14

    Your forgot to put dollar-signs.

    Replace this:

    $user_ok = evalLoggedUser($con,log_id,log_username,log_password);
    

    with this:

    $user_ok = evalLoggedUser($con,$log_id,$log_username,$log_password);
    
    0 讨论(0)
提交回复
热议问题