[HELP] can't retrive a value - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: [HELP] can't retrive a value (/showthread.php?tid=53160) |
[HELP] can't retrive a value - El Forum - 07-12-2012 [eluser]C_Line[/eluser] Code: Controller why it can't return False if the row is NULL or < 1 || < 0 thx [HELP] can't retrive a value - El Forum - 07-12-2012 [eluser]Aken[/eluser] num_rows() is a function, not a property. And you only need the first check - the other two are redundant. Code: if ($amb_idsup->num_rows() < 1) |