Thread: Where clause
View Single Post
  #1  
Old 04-15-2012, 11:11 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 116,261
SilverDragonTears is on a distinguished road
Default Where clause

How do I do a where clause for this if I only want adopts that have the value 'shop' for the field whenisavail to show up?

Code:
$stmt = $adopts->join("adoptables_conditions", "adoptables_conditions.id = adoptables.id")
				   ->select("adoptables", array());
__________________

Check out SilvaTales
Reply With Quote