" . $searchfor; echo " in " . $searchon . ". You may wish to try again with a different search phrase."; break; default: /* (!empty($offset) ? $lower = ($offset - $NUM_RECS) + 1 : $lower = 1); $upper = $offset + $NUM_RECS; */ echo ""; if($numrows <= $NUM_RECS): echo "Displaying all ". $numrows; else: echo "Displaying matches " . $lower . " to " . ($upper > $numrows ? $numrows : $upper). " of " . $numrows; endif; echo " matches for '" . $searchfor . "'"; while($row = mysql_fetch_array($result)): ?>