Re: data verification trough _POST arrays
| From: | olinux | Date: | Fri, 08 Nov 2002 05:25:27 +0000 |
| Subject: | Re: data verification trough _POST arrays | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123319@lists.php.net to get a copy of this message | ||
--- "Fernando M. Maresca" <fmaresca@monssa.com.ar>
wrote:
> hello everyone,
> first, is there a way of reloading a FORM with the
> data that the user
> have typed, after the action="validation.php" has
> been determined that
> some fields nedd to be reloaded?
<input type="text" name="fieldname"
value="<?=$_SESSION['fieldname'];?>">
> what is the correct method for save
> _POST in _SESSION
> variables, so the values can be preserved for later
> retrieval?
$_SESSION['fieldname'] = $_POST['fieldname'];
olinux
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2