Pages
Home
My Zend Framework CMS
Creating a datagrid in Zend Framework
My Portfolio
Friday, February 10, 2012
Randomize your sql results with sql in Zend Framework
$sql = $this->db->select()->from(array("i"=>"images"), array("id",'path'))->order("RAND()")->limit(1);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment