As you know, PHP can't do the work becuase it is on the server side, not hte
client side. Meaning, when the server side is finish, all done, then it go
directly to the client side (web browser). If you want PHP to do something
then you'll have to do something to the webpage, like a click button
Well, I'm not sure if this is what your looking for but the simplest way
might be to use JavaScript. Have the second form that you want to post
without a submit button being clicked have an onSubmit event. So on submit
of the first form, javascript will submit the second without the user
clicking
quot;'MindHunter'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, July 16, 2002 12:33 AM
Subject: RE: [PHP] Submit code
> three methods that I can think of:
> 1. header("location: url");
> 2.
> 3. Hidden form + JavaScript
>
> -Or
three methods that I can think of:
1. header("location: url");
2.
3. Hidden form + JavaScript
-Original Message-
From: MindHunter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 16, 2002 4:33 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Submit code
I am looking for PHP code that will submit
4 matches
Mail list logo