Hi,
I'm trying to create a drop down menu that will show a list of prices. To save me typing thousands of prices I wanted to use a loop to generate the values in the drop down list. Below is the code, when I use this my browser just crashes, what's wrong with this?
print ("<BR><FORM ACTION=\"submitsearch.php\" METHOD=POST>\n");
print ("Select a minimum price:\n");
print ("<SELECT NAME=Minimum><OPTION>Choose One:</OPTION>\n");
$Minimum = 1000;
$Maximum = $Minimum + 54000;
while ($Minimum <= $Maximum) {
print ("<OPTION VALUE=$Minimum>$Minimum</OPTION>\n");
$Minimum+1000;
}
print ("</SELECT>");
Any feedback appreciated.
Airzoom.