An error is reported, hoping that 1 is a string
十四
十四 2019-01-19 20:36:54
0
3
1159

mysql_set_charset($conn,'utf8');   //设置字符集

$sql = "insert into user(username,password,createtime,createip) values (".$username."','".$password."','".$time."','".$ip.")";

$result = mysql_query($conn, $sql);

十四
十四

reply all(2)
明日边缘

You can put your sql statement in the mysql client command line and execute it, and you should be able to find the error! I hope this newbie like me can help you!

韦小宝

Please print and see if all subsequent changes have been fully parsed

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!