Re: HELP!

From: Date: Wed, 13 Apr 2005 03:57:02 +0000
Subject: Re: HELP!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-212982@lists.php.net to get a copy of this message
Yes -- In your example - $result_id would be accessed on page2 as $result_id = $_GET['result_id']; Then through out your script on page 2 you could access $result_id. Hope that helps. 是-- 在您的例子- $result_id 會被獲取在頁2 $result_id = $_get['result_id ' ]; 然後通過在您的劇本之外在頁2 您能訪問 $result_id。 希望幫助。 <?php /* Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com stephen@thelonecoder.com 562.924.4454 (office) 562.924.4075 (fax) continuing the struggle against bad code */ ?> > From: 王成乔 <wangchq@china-channel.com> > Date: Wed, 13 Apr 2005 11:00:36 +0800 > To: <php-general@lists.php.net> > Subject: [PHP] HELP! > > HI, > > Any body give me any hinder I would be very appreciated! > > I want to use a parameter of fist page in the second page, how can I realize > it. > > For example, there is a segment in the first page: > > “<tr> > > <td>com</td><td><a > href='/cgi-bin/english/E_new_domain_list.cgi?domainType=1'><? echo > $num_com;?></a></td> > > <td><a href="autorenew.php?$result_id = 1"><? echo > $buy_com_num;?></a></td> > > </tr>” > > But I wan to use the parameter “$result_id” in the second > page(autorenew.php) : > > “switch($result_id){ > > case "1" : > > ……..; > > Break; > > case "2" : > > ……..; > > Break; > > Can the parameter “$result_id” pass from fist page to second > page(autorenew.php)? > > Sincerely yours, > > justin > > E-mail/MSN: wangchq@china-channel.com > > > >

« previous php.general (#212982) next »