Welcome Guest, Not a member yet? Register   Sign In
connecting a session in another database
#1

[eluser]Unknown[/eluser]
Hello everyone I would like to bring up the name of the users on the screen when you start the session. I'm not able to connect to another DB's session without being a ci_sessions.

Code:
function user() {
    $this->load->library('session');
    


echo "welcome to the dashboard <strong> " .$this->session->userdata('nome');



echo anchor('sessions/logaout','sair');



echo "</strong> Hellou";




}




Theme © iAndrew 2016 - Forum software by © MyBB