[eluser]mddd[/eluser]
That's up to you to decide. We cannot write your program for you. If you need to keep variables between requests, store them in a session variable, or send the information again through hidden fields in a post.
[eluser]mddd[/eluser]
No problem. It's always nice to be able to answer specific questions. More general problems are harder because everyone has their own coding style and there are many solutions to the same problem.