完整错误:解析错误:语法错误,意外''(T_ENCAPSED_AND_WHITESPACE),期待标识符(T_STRING)或变量(T_VARIABLE)或数字(T_NUM_STRING)
它说错误在第12行.这是我在那里:
$introduction="INSERT INTO Introduction (Title, Description)
VALUES ('$_POST[introtitle]','$_POST['introdescription']')";
Run Code Online (Sandbox Code Playgroud)
任何帮助将不胜感激!
你有额外的单引号:
$introduction="INSERT INTO Introduction (Title, Description)
VALUES ('$_POST[introtitle]','$_POST[introdescription]')";
Run Code Online (Sandbox Code Playgroud)