Warning: mysql_num_rows() expects parameter 1 to be resource, object given [duplicate]

$num_rows = $result->num_rows;

Leave a Comment