Ric*_*ard 1 mysql sql environment-variables
我有以下查询
$sql=" UPDATE reg_voters_t SET county='$county', constituency='$constituency', regcenter='$regcenter' WHERE IDNo='$IDNo'";
Run Code Online (Sandbox Code Playgroud)
当我在查询上方运行时,出现此错误-
解析错误:语法错误,意外的'$ sql'(T_VARIABLE)在15中