in reply to Passing Parameters to CGI script?

Can you show us the two scripts you already have?
Passing a value from one page to another can be done in many ways. If we can see what you have, we can suggest the most appropriate.