im not sure how this will help
i have two tables:
1: orders - this table contains all the orders made
2: quotes - this contains all the quotes made
when i create a new order i want to be able to select the quoteid(a unique number given to each quote) from a drop down menu if this order corresponds to an existing quote and if it doesn't then for it to just input a zero.
The code i provided above creates the drop down menu with the default value as a zero and all the rest of the menu is populated from an sql database.
i basically want it to imput whatever value is selected in the drop down menu.
Hope this makes things a little clearer
Thanks for your help,
Mike