mysql_set_charset($conn,'utf8'); //设置字符集$sql = "insert into user(username,password,createtime,createip) values (".$username."','".$password."','".$time."','".$ip.")";$result = mysql_query($conn, $sql);
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
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