Help with variables and forms

Ok, I’ll try to keep the problem clear and as simple as possible. I’m using Dreamweaver MX. I have a html page and it contains a picture. when you click on the picture, it goes to another html page with a larger view of the pic. It also contains an identification number and an order here button. Here’s the trick… I want, when the order here button is pressed, to go to a page with an order form that the first thing it displays is the identification number on the larger pic view html page. How can I get that id number to appear in the order form page automatically?