Re: Form Question
| From: | Kevin Stone | Date: | Fri, 11 Jan 2002 08:47:28 +0000 |
| Subject: | Re: Form Question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-80076@lists.php.net to get a copy of this message | ||
IE5.5 actualy has a bug that will not cache certain form fields under
certain conditions. There are other situations in which a browser won't
cache the information at all. So it's best to do this within the script by
either printing the form from within the script its self, or include() the
HTML form into the script. Then it's a simple matter of echoing the
information in the Value fields of each form elements.
First Name: <input type="text" size="30" name="first_name"
value="<?echo
$first_name;?>"><br>
Last Name: <input type="text" size="30" name="last_name"
value="<?echo
$last_name;?>">
That simple.
-Kevin
----- Original Message -----
From: "Mark" <maggelet@mminternet.com>
To: <joe@coastaldestination.com>; <php-general@lists.php.net>
Sent: Thursday, January 10, 2002 1:39 PM
Subject: Re: [PHP] Form Question
> Just let the browser cache it.
>
> On Thu, 10 Jan 2002 16:30:01 -0400, Lerp wrote:
> >Hi there, how do I keep values in a form if the user has to go back
> >and fill
> >in some missing fields?
> >
> >Thx Joe :)
> >
> >
> >
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>