[eluser]mi6crazyheart[/eluser]
Hey guys,
I'm using CI from last 2 months in one of project. So , don't having so much sound knowledge about CI. But, can say gradually learning a lot. Right now I've stuck with a problem & really can't understand how to solve it.
Actually, I've a controller function. Here are codes of the controller function...
Code:
function membermanage($DboardID,$UserID)
{
$this->load->model('board/dboard_members_model');
$data['query1'] = $this->dboard_members_model->extract_basic_member_info($UserID);
$data1 = array(
'ID1' => $DboardID,
'ID2' => $UserID
);
$this->load->view('board/manage_members_view',$data);
}
Here in the controller , i'm extracting some info from a MODEL and sending those info to a VIEW page. I've successfully manage to do this. But, when i'm trying to send a another array (at here in controller: $data1) i can't getting any way..... for , how to send that $data1 with $data to the view page & access $data1 info in view page. Whether, i've to do some like this [ $this->load->view('board/manage_members_view',$data,$data1) ] or some else, i can't understand.
Plz, if any body have any idea reply me soon. I Google a lot about on this issue but didn't get any satisfactory information.