I am trying to do this Javascript/PHP/Mysql script that will have two select boxes. The first select box will display a list of numbers and I want to the second box to appear after the first selection that will run a query such as select * from table WHERE number > (number selected in the first select box).

Does anyone know of a script or a way to do this?