All pastes #926601 Raw Edit

Someone

public text v1 · immutable
·published 2008-03-03 19:37 UTC
rendered paste body
public function get_random($type)
{
	return $this->get_listing($this->db->from('custom_listings')->where($type.' !=', '')->orderby(NULL, 'RAND()')->limit(1)->get()->current()->mls_number);
}