[quote="ajb":2qkohnsh]Here:
$this->display_module($this->rb, $show_data_params, 'show_data');
is used
show_data function. It has crits as a first param.
Here (without third argument to display_module):
$this->display_module($this->rb,array($order, $crits));
is used
body function. It has crits as a second param.
Regards,
Adam[/quote:2qkohnsh]
AAh! Hence the confusion! 🙂
Thanks to your reply and i have one more question if u dont mind:
Is it possible to something like this:
$crits = array("Client" => "in (Select id as Client from company_data_1 where created_by='$user_id')");
?