I am newbie to php and am trying to resolve a simple math problem. I need to take a number and divide it based on the selection of a drop down box. As an example let's say I have a figure like 1000 and a drop down box that has a list of numbers 1 though 15. I would like like to be able to select a number in the drop down box and hit a submit button and the result would be 1000 divided by the number selected.
Thanks for the perfect prompt response. This has been kicking my butt for 2 days and google just couldn't get done exactly what I wanted to do. You rock.