oops, I'm sorry I thought I put what I WAS doing with it, because of my concern, I guess I put that in the question I asked in the MySQL list...
I added this, just before the MySQL Syntax:
if ($max_recs1 !~ /^(10|20|40|80|120|160)$/) {
$html_content .= qq~You have entered an ILLEGAL Number of Results
+to post!!~ . br() x 2;
search_box();
return;
}
Sorry about that :o(
What I'm wondering about is if I can put the $max_recs1 in as a placeholder, in a LIMIT.
Did that make it clearer I hope?
UPDATE: Sorry, nevermind. I guess If I check to make sure it is one of the numbers I offer as a choice, then it don't matter If I make it a placeholder or not, since they cannot put anything but one of the numbers....
thx,
Richard