Hello, I have looked over and studdied how to keep the results of a search from a database to show the first 10 and have the links to the other pages on the bottom, Previous and Next and so on... Here is the code I am using, any help would be appreciated.

Below are some sections of the original code followed by an alternate version and some comments.

#original-------------------------------------- if (($string eq "") && ($mod eq "")){ print "No data entered to search for.<br>\n"; print "Please <a href=\"Javascript:history.back()\">click here</a> to go back.\n"; exit; } #alternative----------------------------------- unless (($string) &#0124; &#0124; ($mod)) { print ("No data entered to search for.<br>\n", qq [Please <a href="Javascript:history.back()">click here</a> to go back.\n]); exit; } #comments-------------------------------------- Two things here. By using the 'qq' we are able to use a double quote without the need for a back slash. DeMorgan's Law allows us to change the conditional. The negative has moved outside and the && has become &#0124; &#0124;. ($string) is the same as ($string ne "").