Ok I think I understand where your comming from now.  You have multiple
forms on one HTML page.. and you want one submit button to send all the
forms to their respective PHP scripts.  I dont know how to do that, with my
knowledge of HTML I don't even think its possible.

I would make one form (boy I hope this part is possible.)  And write one PHP
script to handle the entire thing... if it works out better that more than
one PHP script should be used to handle diffrent things logicaly, then you
could always include the individual scripts into this one mega script and
run that.

I hope that made sense and worked out for you.  This is simmilar to
somethign I do where when someone submits a date and activity it is
automatically checked for duplicity and accuracy before posting to the
database (3 scripts.)

-Jonathan

----- Original Message -----
From: "Alecs" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 12, 2002 4:59 AM
Subject: [PHP-DB] Re: multiple forms, one submit button


> I wonder how to you POST all forms with one submit (and without JS) ...
>
> "Marius Ursache" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > hi
> >
> > is it posibile to have in a php script multiple forms and only one
> > submit button? if yes, how you "recover" the submited data?
> >
> > ex:
> > <form method="POST" action=$REQUEST_URI name=form1>
> > bla bbla
> > </form>
> >
> > <form method="POST" action=$REQUEST_URI name=form2>
> > bgf
> > </form>
> >
> > <form method="POST" action=$REQUEST_URI name=form3>
> > gjhdf
> >
> > <input type="submit" name = "test" value = "lala" >
> > </form>
> >
> > tnx
> > --
> >
> >
> >   Marius Ursache (3563 || 3494)
> >
> >                           \|/ ____ \|/
> >                           "@'/ ,. \`@"
> >                           /_| \__/ |_\
> >                              \__U_/
> >
> >
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to