标签:select user color use mysql数据库 l数据库 value username span
mysqli_select_db($this->con,"my_db");
$sql = "insert into message(username,content,lasttime)VALUES
(‘$username‘,‘$content‘,‘$time‘)";
$username 等变量一定要有单引号。
标签:select user color use mysql数据库 l数据库 value username span
原文地址:http://www.cnblogs.com/John-/p/6985144.html