⚠ 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

Show some records only



marcelobbt
  • profile picture
  • Member

Posted 19 December 2015 - 00:54 AM

I have a table where one of the fields is called "Level". I wish that the list appeared only records that have the "level" greater than 1.

 

How can I do this?


marcelobbt
  • profile picture
  • Member

Posted 19 December 2015 - 19:18 PM

I solved

 

I was tring to do this:

 

$crud->where('Level ', '> 0');

 

But correct is this

 

$crud->where('Level >','0');