hidden value
| From: | Joe | Date: | Thu, 04 Apr 2002 03:52:01 +0000 |
| Subject: | hidden value | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-82076@lists.php.net to get a copy of this message | ||
I had designed a web survery.
As there is some bugs of "session" function on php windows version.
so i use hidden value to pass the data to next page.
here are the code:
<html>
.....
<form name="survey"....>
<input type="radio" value="Jan" name="birth_month"
checked>January
.....
.....
<input type=hidden name="birth_month" value=<? echo
"survey->'$birth_month'"
?>
.....
.....
</html>
It seems that it can pass the data/variable to next page.
but i don't know why the variable display on the page, not hidden.
I think my php code that pass hidden value had error but i don't know how to
correct.
Can anyone help me?
thx!
best regards,
Joe