mysql_query("INSERT INTO group (name, des, tags, creator, cdate) VALUES ('$gname', '$gdes', '$gtags','$creator', '$date')") or die (mysql_error());
我一直收到一个语法错误...我一直在用同样的方法,有什么问题吗?
return year;public void setYear(Integer year) {}我一直收到以下错误:
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds toyour MySQL server version for the right s