**的**代碼mysql的語法錯誤
$ah_title = $_POST['ah_title'];
$ah_postin = $_POST['ah_postin'];
$ah_content = $_POST['ah_content'];
date_default_timezone_set('America/Los_Angeles');
$ah_date = date("m/d/y");
$ah_query = "INSERT INTO '$ah_title' (title,content,date) VALUES ('$ah_title','$ah_content','$ah_date') ";
**的錯誤**
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 ''test' (title,content,date) VALUES ('test','test','02/09/12')' at line 1
能否請你幫我理解的錯誤,以及如何解決它。
謝謝eveyrone爲你的快速響應我覺得我需要的表是$ ah_postin不是$ sh_title再次感謝 – Cjueden 2012-02-10 02:38:43