ให้แนะนำยังไงครับ เอาไปใช้เลยก็น่าจะได้นะ แล้วไปเปลี่ยนแค่ตรง query ข้อมูล
ตรง ไฟล์ table_edit.php
$id=$row['pid'];
$name=htmlentities($row['name']);
$category=htmlentities($row['category']);
$price=htmlentities($row['price']);
$discount=htmlentities($row['discount']);
1.
htmlentities มันคืออะไรหรอครับ ทำไมเค้าไม่ใช้ $row['name'] หรอครับ?
2.เค้าจะประกาศ $finaldata ตรงนี้ขึ้นมาไว้ทำไมหรอครับ?
$finaldata = "<table width='100%'>". $tablehead . $tabledata . "</table>";
3.AS count นี้ทำหน้าที่อะไรหรอครับ?
$query_pag_num = "SELECT COUNT(*) AS count FROM products";
แล้วส่วนตรง paginatoin มันอยู่ตรงไหนหรอครับ
