Passing variables to another page problem
Posted on 2006-05-19
I'm passing a number of variables from one page to another. I want to pass the amount of logs a user selects from a drop-down menu and then display the corresponding price on the next page. I have the drop-down set up on the first page with the four log selections (1,2,5,and 10 as the labels and log_1, log_2 etc.. as the values to be passed through the url). The reason i pass the log values as so is because these are the exact names in the database log_table (e.g. log_1). The url passes the variable like I want it to, ie. serverbuy.php?log_select=log_1&model_id=18 . So on the recieving page I have a recordset setup that I want to recieve this variable. For each record there is a different price for each log amount (e.g log_1 = 5, log_2 = 10). I want the log value displayed in a text box on the recieving page based on the log amount the user selects. In the log recordset I have it working properly so that it filters the results by model_id passed from the url variable. Any help would be greatly appreciated.
The log_table looks like this: