Does anyone know the meaning behind this php error message?

后端 未结 6 1955
别跟我提以往
别跟我提以往 2021-01-22 20:47

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING is the message. It came up from this line of code:

<         


        
6条回答
  •  再見小時候
    2021-01-22 21:18

    $username = mysql_real_escape_string($_POST["user_username"]);
    $password = mysql_real_escape_string($_POST["user_password"]);
    $type = mysql_real_escape_string($_POST["user_type"]);
    
    mysql_query("SELECT * FROM users WHERE user_name='$username' AND user_password='$password' AND user_type='$type' LIMIT 1");
    

提交回复
热议问题