Query not passing with View in Codeigniter [closed]
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; ?> <a href="#">Account Settings<
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.