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
Change this line, you forgot the $ infront of the variables:
$user_ok = evalLoggedUser($con,$log_id,$log_username,$log_password);