RE: [PHP] Submit
| From: | Jack Dempsey | Date: | Mon, 22 Oct 2001 00:48:25 +0000 |
| Subject: | RE: [PHP] Submit | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-71777@lists.php.net to get a copy of this message | ||
sorry chip, i'm so used to using sessions, i just kind of assumed you would
:-)
sessions will carry the data around.....if you can't/won't use them, you
could use curl to post the values along, but sessions are much more elegant
for this kind of thing
my $.02
jack
-----Original Message-----
From: Chip Landwehr [mailto:omegachip2000@yahoo.com]
Sent: Sunday, October 21, 2001 8:39 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Submit
But won't using a header kill all the form data? Thought you had to use
post for that?
"Jack Dempsey" <dempsejn@georgetown.edu> wrote in message
news:NEBBKBGAMLPMIDAJEALPMEOCCHAA.dempsejn@georgetown.edu...
> sure, have to states for your script, one is the normal blank form, the
> second is the check.
> in your check, validate the data. if its not good, print the form out
again
> with those values already filled in if they apply.
> if it is good, redirect to a new page using header();
http://php.net/header
> be careful not to output any before you make this header call.....
>
> jack
>
> -----Original Message-----
> From: Chip Landwehr [mailto:omegachip2000@yahoo.com]
> Sent: Sunday, October 21, 2001 8:29 PM
> To: php-general@lists.php.net
> Subject: [PHP] Submit
>
>
> I got a form (form.php) that recalls itself when you hit submit to verify
> all the fields. If all the fields are good, I need it to automatically
post
> to a new page. Anyway to do this?
>
>
>
>
> --
> 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
>
>
--
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