$edoc = db_quick("SELECT * FROM edoc WHERE edoc_status = 1 AND edoc_id = $id AND `edoc_language` LIKE '$lang'");
$visit = $edoc[edoc_view];
$visit = $visit+1;
$qr_edoc = db_query("UPDATE edoc SET `edoc_view`= '$visit' WHERE edoc_id = '$id' ");
?>
1 ม.ค. 2513
if ($lang ==en){?>
:You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1