[eluser]new_igniter[/eluser]
Hello,
Can anyone tell me the right syntax for using two conditions (in an if statement) while using CI sessions?
I tried:
if ($this->session->userdata('stat') != "OK" && $this->session->userdata('name') != "fred")
{
do something
}
this doesnt work and throws errors. My apologies in advance for being dumb.