Original post is at: http://www.phpbuilder.com/forum/read.php3?num=2&id=134121&loc=0&thread=134121
It says:
Hi,
I have an enquiry regarding html scripts. I had to pass data from a result html page to a data field of another page that is a form. Please show me the codes for making the above possible or any alternatives are also appreciated. thank you!
Cheers
And was answered with:
Author: Dominik Nufer (195.65.87.136) Profile
Date: 2001-04-30 23:46:41
one way is to use sessions. this requires the user has cookies on.
another way is to uses hidden form variables, if you are useing a form in your result html for selecting the result to be displayed in the data field page use this way:
simply add
<input type=hidden name=variablename value=whateverithastobe>
and you can use this variable on the next page.
if you use a normal link use this method:
<a href="nexpage.php?variablename1=value&variable2=value2">
============
I tried this, but the value is the information that needs to be passed, so I can't input whateverithastobe. I need to be able to plug in the variable from the previous html page. what code do i used in value= that essentially means "this is the information from the previous html page that is actually the variable that needs to be plugged into this field in the form"
=========
thanks!