A PHP Error was encountered

Severity: Warning

Message: mysql_num_rows() expects parameter 1 to be resource, boolean given

Filename: models/custom.php

Line Number: 97