1
How do I display the username logged in to the system?
The function that authenticates and creates the session is this:
function verificar()
{
$this->load->model('tbdaluno');
$check = $this->tbdaluno->validar();
if($check)
{
$this->session->set_userdata('aluno', $check);
redirect('dashboard');
}
else
{
redirect('');
}
}
And friend with the same problem, managed to solve? if yes help us solve, I need to display the user name with the session as well and I can’t. Hug
– Joana