include("../config.inc.php"); $sql = "UPDATE Khaokornews SET views=views + 1 where id='$id'"; $result = mysql_db_query($db_base,$sql); $id = $_GET["id"]; ///อ่านข้อมูลทั้งหมดในเทบิล $sql = "SELECT * FROM Khaokornews Where id= '$id'" ; $table = mysql_query($sql) or die ("ไม่สามารถเรียกดูข้อมูลในเทบิลได้ "); $row = mysql_fetch_array($table); $id = $row["id"]; $name = $row["name"]; $title1 = $row["title1"]; $title2 = $row["title2"]; $title3 = $row["title3"]; $Datenews = $row["Datenews"]; $AttachFile = $row["AttachFile"]; $url = $row["url"]; ?>
[1]
[2]
[3]
[4]
[5]
[6]
Copyright @ 2007
Tourkhaokor.com
All Rights Reserved