2017-09-24 00:48发布
如题
function get_category($uid) { $query = $this->db->query("SELECT * FROM " . DB_TABLEPRE . "user_category WHERE uid=$uid"); $categorylist = array(); while ($category = $this->db->fetch_array($query)) { $category['categoryname'] = $this->base->category[$category['cid']]['name']; $categorylist[] = $category; } return $categorylist;}
最多设置5个标签!
付费偷看金额在0.1-10元之间
一周热门 更多>