I have a question regarding the same thing.
If i have several forms(a php file each), but the first one people access is a simple form where they select which form they are going use.
The first form is only a dropdown (<select>) and a submit button, the things in the dropdown are kinde of groups with an ID that i want to enter into the record along with everything else people enter in the form they want to fill out.
This ID is lost when i enter the submit button, and another form comes on the screen.
How do i get this ID up in browsers addres field, so i can use an $_GET on it ?
I have tryed on the main form-page to use this line to get it up in the browsers addresline:
$_REQUEST formtype=$id
But notthing comes in the browser addres line.... tought $_REQUEST could do this even if it normaly takes info from the address line instead of putting it up there.
Could maybe do an URL that looks like this in the end ?formtype=$id but then i need a link that people click on??, but i dont wnat an ordianty link, becuase i allready have a submit button.... so does someone know how i can get this to happen by using the Submit button i allready have ?
Have heard about use of hidden fields for keeping Varibles etc. - is that maybe the ting i need.
I don't know how to do this the way Mgraphic talks about, so i hope someone can tell me how i get that ID up in my browsers address field, so i can use a $_GET on it 
Last edited by tomcat_fo; 08-16-2006 at 10:40 AM..
|