You'll need to include the value of that variable in the HTML form.
Regardless of the server side technology you are using, it's important to understand how HTTP and HTTP forms work. Two things that I recommend for people trying to get a handle on these concepts are:
1.) Get in the habit of always viewing the HTML source from your browser. This is the output from your server side code.
2.) Install either a packet sniffer like tcpflow or install the Live HTTP Headers plugin to Firefox. Either product will allow you to view what gets sent from the browser to the server when you submit a web page form.
Joined: Mar 31, 2005
Cheers ben works like a charm [with some light modification]
The code above makes the fields visible on the form, just need to hide them as you dont want the user to seem them.