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
[EMAIL PROTECTED]

562.924.4454 (office)
562.924.4075 (fax) 

continuing the struggle against bad code

*/ 
?>

> From: çæä <[EMAIL PROTECTED]>
> 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: [EMAIL PROTECTED]
> 
> 
> 
> 

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

Reply via email to