Re: HELP!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx

562.924.4454 (office)
562.924.4075 (fax) 

continuing the struggle against bad code

*/ 
?>

> From: çæä <wangchq@xxxxxxxxxxxxxxxxx>
> Date: Wed, 13 Apr 2005 11:00:36 +0800
> To: <php-general@xxxxxxxxxxxxx>
> Subject:  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@xxxxxxxxxxxxxxxxx
> 
> 
> 
> 

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux