No Matching Criteria

"; ELSEIF ($number > 0) : WHILE ($i < $number): $name = mysql_result($result,$i,"name"); $class = mysql_result($result,$i,"class"); $company = mysql_result($result,$i,"company"); $town = mysql_result($result,$i,"town"); $address = mysql_result($result,$i,"address"); $state = mysql_result($result,$i,"state"); $zip = mysql_result($result,$i,"zip"); $fax = mysql_result($result,$i,"fax"); $phone = mysql_result($result,$i,"phone"); $email = mysql_result($result,$i,"email"); $message = mysql_result($result,$i,"message"); $link = mysql_result($result,$i,"link"); PRINT "$class-$state"; $i++; ENDWHILE; PRINT "
"; ENDIF; ?>