⚠ 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 forum is read-only and soon will be archived. ⚠

Get rows where field = "X".

field row where table

  • Please log in to reply
No replies to this topic

#1 Ahmad Zein

Ahmad Zein


  • Members
  • Pip
  • 5 posts

Posted 28 October 2014 - 09:21 AM

$crud->set_table('pages',"where permission =1"); <----------------------how to do this in the right way 

:(  :(  $crud->set_relation('pagetype','themes','name'); $crud->set_rules('systemTTL', 'System Title', 'trim|required|min_length[4]|xss_clean|alpha_dash'); $crud->callback_add_field('title',array($this,'edit_field_callback'));


I have multiple users with permissions and i want to show only raws which are for certain user group  ....


Thank you 


Also tagged with one or more of these keywords: field, row, where, table

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users