[eluser]Mistry007[/eluser]
title
=============
how to pass multiple array to parser
message
======================
Code:
$data = array('left_menu_list' => $query->result(),
'header' => $this->data['company_name'],
'footer' => $this->data['footer'],
'version' => $this->data['version'],
'powered_by' => $this->data['powered_by'],
'list_of_pages' => $listpage,
'base_url' => base_url(),
'list_page_heirarchal' => $listpage_heirarchical
);
$this->parser->parse('/themes/'.$this->data['themepath'].'/layout',$data);
this code is working properly but i wat to pass multiple array in parser like...
$result = $this->uri->segment(2);
$data = array('left_menu_list' => $query->result(),
'header' => $this->data['company_name'],
'footer' => $this->data['footer'],
'version' => $this->data['version'],
'powered_by' => $this->data['powered_by'],
'list_of_pages' => $listpage,
'base_url' => base_url(),
'list_page_heirarchal' => $listpage_heirarchical
);
$this->parser->parse('/themes/'.$this->data['themepath'].'/layout',$data,$result);
Hi can any one tell me is that possible to pass multiple argument or multiple array like in this example.Is there any posibility over here to pass this two array.
any help will be appriciated.
Thanks