cc80af20d9fc44597260c9a489a74ef9fa37b896
2 $sql = 'SELECT model_name,model_price_out FROM model WHERE model_price_out > 0 AND category_id > 0';
3 $result = $this->db
->safe_query_fetch($sql);
4 foreach($result as $item) $items[$item['model_name']]=$item['model_price_out'];
5 die(json_encode($items));
This page took 0.22683 seconds and 3 git commands to generate.