⚠ 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

Get results key



Waqas

Waqas
  • profile picture
  • Member

Posted 14 September 2016 - 11:08 AM

$crud->field_type('status','dropdown',
array('1' => 'active', '2' =>);

How do I get values of fields within table of some like id and title_menu, as foreach loop works fine using $key only.

I want this way, value from id field and label from title_menu