07-12-2012, 09:40 PM
[eluser]Aken[/eluser]
num_rows() is a function, not a property. And you only need the first check - the other two are redundant.
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)