on-internet
← Community

Query not passing with View in Codeigniter [closed]

Stack Overflow ·

I have the foloowing controller (supernavigationloggedin): <?php class Supernavigationloggedin extends CI_Controller { function index(){ #get current session id $currentSessionID = $this->session->userdata('session_id'); #get all the account row for the given sessionID $data['info'] = $this->db->get_where('Client', array('session_id'=>$currentSessionID))->row(); #views $this->load->view('supernavigationloggedin',$data); } } ?> and the following view named(supernavigationloggedin): <div id="superNavigation"> <h5><strong>Welcome</strong>, <?php $info->fname; ?>&nbsp;<a href="#">Account Settings<

Comments

Sign in or sign up to comment and upvote.

No comments yet.