php-general | 2001062
Date: 06/22/01
- Next message: Mihailescu Emil: "[PHP] informations"
- Previous message: Arash Dejkam: "Re: [PHP] Re: PHP authenticating and session management"
- In reply to: David Yen: "[PHP] how to pass PhP variables thru HREF command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello!
Yes, you are right. And ou can get passed values in the predication.php via:
global $HTTP_GET_VARS;
$hometeam = $HTTP_GET_VARS["hometeam"];
$awayteam = $HTTP_GET_VARS["awayteam"];
Best regards,
Andrew Kirilenko,
Seniour Programmer / System Administrator,
Internet Service.
-----Original Message-----
From: David Yen [mailto:droshky <email protected>]
Sent: Friday, June 22, 2001 3:46 AM
To: php-general <email protected>
Subject: [PHP] how to pass PhP variables thru HREF command
Hi.
am using SQL Server.
I wrote a php page that displays the NFL game schedule after query the
database.
I want to create link to a game prediction page (written in php) for each
game. There will be two variables that will be passed thru the Href
command.
Would the code look something like this?
<a href="prediction.php?hometeam=<?echo $hometeam?>&awayteam=<?echo
$awayteam?>">
............</a>
Thank you for your help.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Mihailescu Emil: "[PHP] informations"
- Previous message: Arash Dejkam: "Re: [PHP] Re: PHP authenticating and session management"
- In reply to: David Yen: "[PHP] how to pass PhP variables thru HREF command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

