function getTodayLook($limit) { $sql = "select * from `tvhome_movie_today` order by rand() limit $limit"; $query = $this->db->query($sql); $result = $query->row_array(); return $result; }
function getTodayLook($limit) { $sql = "select * from `tvhome_movie_today` order by rand() limit $limit"; $query = $this->db->query($sql); $result = $query->row_array(); return $result; }
转载于:https://www.cnblogs.com/haozhen/p/5888920.html