Use mysql_num_rows instead of an assoc