note 32965 deleted from function.serialize by aharvey
| From: | aharvey@php.net | Date: | Tue, 06 Nov 2012 02:02:31 +0000 |
| Subject: | note 32965 deleted from function.serialize by aharvey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-191737@lists.php.net to get a copy of this message | ||
Note Submitter: webmaster at feeltong dot com
----
People usually use 'hidden' fields when they submit some variables from previous step to
the next step even if they have so many varibles to send. It will look like following form.
<form name='tmpForm' method='post' action='nextStep.php'>
<input type='hidden' name='var[name]'
value='<?=$var[name]?>'>
<input type='hidden' name='var[id]' value='<?=$var[id]?>'>
<input type='hidden' name='var[address]'
value='<?=$var[address]?>'>
<input type='hidden' name='var[age]'
value='<?=$var[age]?>'>
<input type='hidden' name='var[gender]'
value='<?=$var[gender]?>'>
<input type='hidden' name='var[car]'
value='<?=$var[car]?>'>