Thread: Order by?
View Single Post
  #3  
Old 05-02-2012, 12:24 AM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 82,552
SilverDragonTears is on a distinguished road
Default

This isn't ordering by cost...
Code:
    $stmt = $adopts->join("adoptables_conditions", "adoptables_conditions.id = adoptables.id")
				   ->select("adoptables", array(), "breed = 'short'", "1 ordered by cost ASC");
__________________

Check out SilvaTales
Reply With Quote