Welcome Guest, Not a member yet? Register   Sign In
PHP error passing variable into view?
#3

[eluser]solid9[/eluser]
@InsiteFX
thanks anyways but i fix it.

Code:
//log the user in
function login()
{
    $data_user['username'] = 'GOD';
    $this->data['header'] = $this->load->view('header', $data_user, TRUE);
    $this->data['midnav'] = $this->load->view('body_m_frontpage', null, TRUE);  
    $this->load->view('front_page', $this->data);
}

Now I know the variable should be in array.

[PROBLEM SOLVED]


Messages In This Thread
PHP error passing variable into view? - by El Forum - 02-16-2012, 08:47 PM
PHP error passing variable into view? - by El Forum - 02-16-2012, 09:02 PM
PHP error passing variable into view? - by El Forum - 02-16-2012, 09:14 PM
PHP error passing variable into view? - by El Forum - 02-16-2012, 10:15 PM
PHP error passing variable into view? - by El Forum - 02-16-2012, 10:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB