Error: 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 'from cdb_members WHERE username='drld'' at line 1
SQL: select uid,gender,hw, from cdb_members WHERE username='drld'
Error: 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 'from cdb_members WHERE username='drld'' at line 1
Errno.: 1064
Similar error report has beed dispatched to administrator before.
$db->query("insert into jie (username,thename,content,year,jiehun) values ('$qhinfo[username]','$qhinfo[tousername]','$qhinfo[message]','$timestamp','0')");
复制代码
应改为
$db->query("insert into cdb_jie (username,thename,content,year,jiehun) values ('$qhinfo[username]','$qhinfo[tousername]','$qhinfo[message]','$timestamp','0')");