require_once('../etc/common_config.php'); $params = array('page','mcat','scat'); getParam($params, $_GET); $db = new DB; foreach ($arr_mcat as $key=>$value) { $q = "SELECT id,product_key,mcat,scat,image FROM product_lists WHERE mcat='$key' ORDER BY id DESC LIMIT 1"; $db->query($q); $row[$key] = $db->next_record(); } ?>
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
|