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

[eluser]solid9[/eluser]
To make it global,

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



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