where
void where( mixed $key [, string $value [, bool $escape] ])
Quick Description: A quick database where (Same as codeigniter) to our list
A database where to our list. Works exactly the same way as codeigniter's where ($this->db->where)
Example:
public function webpages() { $crud = new grocery_CRUD(); $crud->where('status','active'); $crud->set_table('webpages'); $crud->order_by('priority'); $crud->set_subject('Webpage'); $crud->columns('menu_title','url','status','priority'); $crud->change_field_type('status', 'hidden', 'active'); $output = $crud->render(); $this->_view_output($output); }