Thread: Sending one form for two scripts

Sending one form for two scripts

From
Ângelo Marcos Rigo
Date:
Hi

I am not sure about the best way to send data from one
single form for two diferents scripts.

I have one mail list that needs just two form values,
(name, email) and i would like to have more
information in the same time but this secondary
information (adress, phone, etc..) in a postgresql
database

any help will be apreciate

=====
Ângelo Marcos Rigo
AMR Informática
(51) 3348 0870
Rua Pe. Alois Kades 400/210
Porto Alegre /RS/Brasil
http://amr.freezope.org
angelo_rigo@yahoo.com.br



_______________________________________________________________________
Conheça o novo Cadê? - Mais rápido, mais fácil e mais preciso.
Toda a web, 42 milhões de páginas brasileiras e nova busca por imagens!
http://www.cade.com.br

Re: Sending one form for two scripts

From
Jeff MacDonald
Date:
On Thu, 2003-08-07 at 07:44, Ângelo Marcos Rigo wrote:
> Hi
>
> I am not sure about the best way to send data from one
> single form for two diferents scripts.
>
> I have one mail list that needs just two form values,
> (name, email) and i would like to have more
> information in the same time but this secondary
> information (adress, phone, etc..) in a postgresql
> database
>
> any help will be apreciate
>

put everything into pg, make sure that you have a serial field, and pass
that id to the 2nd script. in the 2nd script, do a lookup in the
database for the id.

hope that helps.. feel free to email the list or to me directly if you
need more details.

regards,
J
--
Jeff MacDonald <jam@zoidtechnologies.com>

Attachment