1,
if (!mysqli_query($con, $createTableSql))
{
$msg .= "table create fail:".mysqli_error($con);
}
一直报错:
"table create fail:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CREATE TABLE `config_os` (`id` int(11) unsigned not null AUTO_INCREMENT, `projec' at line 1"
原因:mysqli_query要把多条语句分开执行才行.
2, js 报错:TypeError: $(...).autocomplete is not a function
原因是jquery加载了多次, 且最后一次后面没有再加载
jquery-ui.js