Re: [PHP] Re: Form Submission

2004-07-06 Thread Torsten Roehr
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Tuesday 06 July 2004 17:50, Torsten Roehr wrote: > > > > How can I check if a form has been submitted, I have seen a demo that > > > uses the following: > > > > > > if(isset($HTTP_POST_VARS)) > > > > > > But I understand

Re: [PHP] Re: Form Submission

2004-07-06 Thread Jason Wong
On Tuesday 06 July 2004 17:50, Torsten Roehr wrote: > > How can I check if a form has been submitted, I have seen a demo that > > uses the following: > > > > if(isset($HTTP_POST_VARS)) > > > > But I understand that $HTTP_POST_VARS is depricated... > > > > Thanks for your help > > Check the $_POST

Re: [PHP] Re: form submission logic

2004-05-10 Thread Torsten Roehr
>"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >[snip] >This is more of a HTML than a PHP question, but anyway: >It doesn't matter where you put the buttons as long as they are INSIDE >the >form-tag and have different names. >[/snip] > >Actually you can name them all t

RE: [PHP] Re: form submission logic

2004-05-10 Thread Jay Blanchard
[snip] This is more of a HTML than a PHP question, but anyway: It doesn't matter where you put the buttons as long as they are INSIDE the form-tag and have different names. [/snip] Actually you can name them all the same thing and then have PHP process the form via a switch/case statment. http

Re: [PHP] Re: form submission logic

2004-05-07 Thread Torsten Roehr
"Adam Voigt" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, 2004-05-07 at 13:47, Torsten Roehr wrote: > > > > This is more of a HTML than a PHP question, but anyway: > > It doesn't matter where you put the buttons as long as they are INSIDE the > > form-tag and have different

Re: [PHP] Re: form submission logic

2004-05-07 Thread Adam Voigt
On Fri, 2004-05-07 at 13:47, Torsten Roehr wrote: > > This is more of a HTML than a PHP question, but anyway: > It doesn't matter where you put the buttons as long as they are INSIDE the > form-tag and have different names. > Actually you don't even have to have names for the buttons, for exampl

Re: [PHP] Re: form submission error trapping

2002-02-25 Thread Stewart G.
You do not need to use javascript. Simple create a form that submits to itself. And check the values, then reprint the form or redirect. Example: \n"; } } if (!empty($err_msg)) print $err_msg; } ?> Hope that helps, -- Stewart On Mon, 18 Feb 2002, George Whiffen wrote: > Jason