The dropdown should send a value to the page, e.g. 2009.
The page searches for this - by looking for $_POST['year'] (or whatever you've called the dropdown select field).
You now 'clean' this value and pass it to your sql statement:
$year = mysql_real_escape_string($_POST['year']);
$sql = "SELECT * FROM table WHERE year = '$year'";
Straightforward.
diafol
Rhod Gilbert Fan (ardav)
7,800 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
Do you have any code to share with us? I'm loathe to provide a complete solution if you haven't got anything yourself. I'm willing to help, but not do ALL the work.
diafol
Rhod Gilbert Fan (ardav)
7,800 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
Can you show your html then?
diafol
Rhod Gilbert Fan (ardav)
7,800 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080