The only things that get passed when you submit a form are the contents of the form.
If you need to carry some other data over, you can use
<input type="hidden" name="var1" value="important data">
and then get the data with $POST['var'] or if you need to carry the data through different pages on your website, use $SESSION.