Re: hidden value
[email protected] (John English) Fri, 19 Apr 2002 13:48:22 +0100
| Newsgroups | php.lang |
|---|---|
| Organization | University of Brighton |
| Message-ID | <[email protected]> |
Joe wrote:
>
> 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'"
> ?>
... you need another ">" here to close the "input" tag...
<input type=hidden name="birth_month"
value=<? echo "survey->'$birth_month'" ?> >
> .....
> .....
> </html>
-----------------------------------------------------------------
John English | mailto:[email protected]
Senior Lecturer | http://www.it.bton.ac.uk/staff/je
Dept. of Computing | ** NON-PROFIT CD FOR CS STUDENTS **
University of Brighton | -- see http://burks.bton.ac.uk
-----------------------------------------------------------------