[eluser]Ngulo[/eluser]
hi guys ,i'm getting problems making a simple switch on $this->input->post('asd',TRUE);
i would like to switch in case it is null or is not Null ,any suggestion code?
i really don't know how to make this switch
guessing i would like something like this:
Code:
switch($this->input->post('asd'))
{
case is null:
i do this
break;
case is not null:
i do this other
break;
}
does anyone knows how to build perfectly this switch ?
thanks a lot