jaay Posted February 21, 2010 Share Posted February 21, 2010 Okay this may be a simple prob buit i am not a cakephp expert so need some help ... Here's a query in my controller file that uses conditions to query mysql db and return a set of result ... $myListings = $this->Listing->find('all',array('conditions'=>array('and'=> array("Listing.category='Custom'","Listing.status='1'")))); I dont understand the pagination in cakephp properly and have been trying it vein to paginate this query result set .. please can anyone help me with it ... how to go about paging this set of data and send it to its view file ... Quote Link to comment https://forums.phpfreaks.com/topic/192818-pagination-query/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.