Beispiel #1
0
 function getListPageOrderProduct($from, $to, $category)
 {
     $db = new connect();
     $select = "select * from products WHERE ProductCategory='{$category}' ORDER BY ProductID DESC limit {$from},{$to}";
     $result = $db->getList($select);
     return $result;
 }