Skip to main content
added 89 characters in body
Source Link
Ben Lessani
  • 17.7k
  • 4
  • 44
  • 69
$select =  $read->select()
            ->from($batchTable,array('id','batch','strength','flavor','brand'))
            ->where('status', 1)
            ->where('other_field', 'some_value')
            ->where('an_other_one' <> ?', 8)
            ->order('created DESC') ;
$select =  $read->select()->from($batchTable,array('id','batch','strength','flavor','brand'))->where('status', 1)->where('other_field', 'some_value')->where('an_other_one' <> ?', 8)->order('created DESC') ;
$select =  $read->select()
            ->from($batchTable,array('id','batch','strength','flavor','brand'))
            ->where('status', 1)
            ->where('other_field', 'some_value')
            ->where('an_other_one' <> ?', 8)
            ->order('created DESC');
Source Link
Marius
  • 198.5k
  • 55
  • 424
  • 833

$select =  $read->select()->from($batchTable,array('id','batch','strength','flavor','brand'))->where('status', 1)->where('other_field', 'some_value')->where('an_other_one' <> ?', 8)->order('created DESC') ;