how to pass PhP variables thru HREF command

From: Date: Fri, 22 Jun 2001 00:45:52 +0000
Subject: how to pass PhP variables thru HREF command
Groups: php.general 
Request: Send a blank email to php-general+get-54825@lists.php.net to get a copy of this message
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.

« previous php.general (#54825) next »