mysql_query("INSERT INTO group (name, des, tags, creator, cdate) VALUES ('$gname', '$gdes', '$gtags','$creator', '$date')") or die (mysql_error());
我一直收到一个语法错误...我一直在用同样的方法,有什么问题吗?
$sql="update fields set values=CONCAT_WS(',',values, '$newval') where name='fundType'";Youhave an error in your SQL syntax; check the manual that corresponds to your MySQL server version forthe right syntax to use near
这张桌子看起来像这样+------------+--------------+------+-----+---------+-------------> INSERT INTO tenants(name,domain,database) VALUES ('varun','varun.localhost','sms_varun');
ERROR 1064(42000): You have an error in your SQL synt