$Query = mysql_query("select micro_id ,count(micromore_id) form product_microserver where micro_id=micromore_id group by micro_id ");
เพิ่มเป็น
Code (PHP)
$Query = mysql_query("select micro_id ,count(micromore_id) form product_microserver where micro_id=micromore_id group by micro_id ") or die(mysql_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 'product_microserver where micro_id=micromore_id group by micro_id' at line 1