⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

how to specific recordset using where clause



xcodex

xcodex
  • profile picture
  • Member

Posted 22 May 2013 - 05:28 AM

i want to select data from fields according to 2 different id numbers......


davidoster

davidoster
  • profile picture
  • Member

Posted 22 May 2013 - 05:55 AM

$crud = new grocery_CRUD();

 

$x = 5; $y = 7;
$crud->where('id1',$x);

$crud->where('id2',$y);