$sql = "INSERT INTO user (name,pass,tel,qq,system) VALUES ('zhoudan','42345','32423524','123354354','30')";
if (mysqli_query($conn, $sql)) {
echo "新记录插入成功!";
} else {
echo "Error: " . $sql . "<br>" . mysqli_error($conn);
}
mysqli_close($conn);
求救!!!!!!
这段代码,为什么通过ajax 处理,数据会被保存二次???????,直接去运行常
狐的传说
相关分类