From sharmad@im.eth.net Mon Apr 2 07:31:47 2001 Received: from im.eth.net (mail.uthplanet.com [202.9.136.18] (may be forged)) by postgresql.org (8.11.3/8.11.1) with ESMTP id f327VEK30793 for ; Mon, 2 Apr 2001 03:31:47 -0400 (EDT) (envelope-from sharmad@im.eth.net) Received: from sanico.sharmad.org ([61.11.9.47]) by im.eth.net with Microsoft SMTPSVC(5.5.1877.117.11); Mon, 2 Apr 2001 12:58:50 +0530 Received: (from sharmad@localhost) by sanico.sharmad.org (8.9.3/8.9.3) id MAA01436 for pgsql-sql@postgresql.org; Mon, 2 Apr 2001 12:52:18 +0530 X-Authentication-Warning: sanico.sharmad.org: sharmad set sender to sharmad@im.eth.net using -f Date: Mon, 2 Apr 2001 12:52:18 +0530 From: Sharmad Naik To: pgsql-sql@postgresql.org Subject: passing parameters between forms Message-ID: <20010402125218.A1428@im.eth.net> Reply-To: Sharmad Naik Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i X-Archive-Number: 200104/6 X-Sequence-Number: 2345 Hi, I have created a database with following structure CREATE TABLE member( mem_id INT, name TEXT, age INT); the first page is as follows :

This is the first page

Member ID : Member NAME : Member AGE :
The second page that is search 2.php is as follows :

This is the Displaying page

"); echo("$mem_id
"); echo("$name
"); echo("$age
"); echo(""); // require("search3.php"); // series($mem_id,$name,$age); echo(""); } else{ echo("

Inconvient data

");} ?> This is search3.php In my search3.php I want to insert (which i have not given) or atleast echo the parameter like mem_id, age and name.My Q +is how do i pass the parameters between search2.php and search3.php.If there is another way out pls tell. I tried using functions to get the work done.but couldn't get my way out. Can anybody help me? Sharmad -- The secret of the universe is @*&í!'ñ^#+ NO CARRIER __ _ _ _ _ |_|_||_||_||\/||_|| \ _|| || || \| || ||_/ From dev@archonet.com Mon Apr 2 12:34:18 2001 Received: from www-uk-05.digiserve.com ([195.97.231.11]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f32CYIK67731 for ; Mon, 2 Apr 2001 08:34:18 -0400 (EDT) (envelope-from dev@archonet.com) Received: from mainbox.archonet.com (mwynhau.demon.co.uk [193.237.186.96]) by www-uk-05.digiserve.com (8.9.1/8.9.1) with ESMTP id NAA21112; Mon, 2 Apr 2001 13:35:09 +0100 (BST) Received: from client (client.archonet.com [192.168.1.16]) by mainbox.archonet.com (Postfix) with SMTP id B727F2A3AC; Mon, 2 Apr 2001 13:14:04 +0100 (BST) Message-ID: <006601c0bb6e$684198e0$1001a8c0@archonet.com> From: "Richard Huxton" To: "Sharmad Naik" , References: <20010402125218.A1428@im.eth.net> Subject: Re: passing parameters between forms Date: Mon, 2 Apr 2001 13:14:00 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200104/9 X-Sequence-Number: 2348 From: "Sharmad Naik" > Hi, > I have created a database with following structure > > CREATE TABLE member( > mem_id INT, > name TEXT, > age INT); > > the first page is as follows : > >
> Member ID : > > The second page that is search 2.php is as follows : > > > echo(""); > echo("$mem_id
"); Create a hidden input element that will be posted on to the third form: echo(''); > echo("$name
"); > echo("$age
"); > echo(""); > // require("search3.php"); > // series($mem_id,$name,$age); > echo("
"); > In my search3.php I want to insert (which i have not given) or atleast echo the parameter like mem_id, age and name.My Q > +is how do i pass the parameters between search2.php and search3.php.If there is another way out pls tell. > I tried using functions to get the work done.but couldn't get my way out. This is more of a cgi question really - I'd suggest a quick visit to www.faqs.org and have a look at the CGI faq. - Richard Huxton