K, her'e the php code im using
$year = $_GET['year'];
$query1 = mysql_query("select Make from MAKE where
((yr1=='$year') || (yr2=='$year'))")
or die(mysql_error());
Here's the html code to display the first combo box, and for it to submit itself when the onchange event is triggered
<select NAME="year" onchange="submit()">
<option value="">Select Vehicle Year</option>
<option VALUE="2005">2005
<option VALUE="2004">2004
Lastly, here is the php code to go into the mysql database and display the 2nd combo box (yr1, and yr2 are year fields in the MAKE table
<?php
while ($result1 = mysql_fetch_array($query1)) {
printf('<option value="'.$result1['Make'] . '">'.$result1['Make'] . '</option>');
}
?>
thanks