I got a form that a user fills out. When they hit submit they are
transfered to a PHP page that verifies their data. If a problem is found
(They forgot to enter an e-mail address) the PHP sends them back to the
original form with the field they forgot to fill out highlighted in red.
well all of the entries are passed via post or get to your form handler
(obviously). So just pass them back when you re-call the form.
then put in
input type=text name=firstname value=?=$firstname? in the form
or something like that anyway.
- seb
-Original Message-
From: Chip Landwehr
ariable1=hellovariable2=goodbye);}
etc etc
- seb
-Original Message-
From: Chip Landwehr [mailto:[EMAIL PROTECTED]]
Sent: 21 October 2001 21:03
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Form Question
I got that but the passing back I'm having a problem with. This is waht I
got:
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: [EMAIL PROTECTED]
For additional
--
From: Chip Landwehr [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 21, 2001 8:29 PM
To: [EMAIL PROTECTED]
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
ou
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:[EMAIL PROTECTED]]
Sent: Sunday, October 21, 2001
lol!
True, so true...
Richard S. Crawford [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Can you imagine the trouble you'd get into if you could?
At 09:47 PM 10/19/2001, Chip Landwehr wrote:
Is there any way to do this in PHP4?
Sliante,
Richard S.
Is there a PHP IRC channel?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
8 matches
Mail list logo