$sql = "insert into tb_imagehits set imagehits_referer='".$referer."', imagehits_kb=$filesize1, imagehits_name='".$file."',imagehits_ip='".$currentip."',imagehits_tstamp='".$timestamp."'";
เวลา run ฟ้อง error ว่า
Error Message
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 ' imagehits_name='401234973_57468757593220.jpg',imagehits_ip='153.45.30.152',imag' at line 1