Re: Still can't pass variable through url

From: Date: Fri, 08 Aug 2003 06:48:40 +0000
Subject: Re: Still can't pass variable through url
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-158781@lists.php.net to get a copy of this message
On Fri, 8 Aug 2003 14:30:22 +0800 "Jack" <nedcor4@nedcor.com.hk> wrote: > Dear all > I had set the "register_global=on" and "magic_quotes_runtime=off" > already, You don't need register_global=on" for this, use $year = $_GET['year']; $month = $_GET['month']; ...and you want to try "page.php?year=$year&month=$month". > but when i click my hyperlink "page.php?year=$year&?month=$month", it > doesn't pass the variable for > ?year and ?month to the destination page "page.php" > I'm using php 5.0 above , if the same case apply to php4.04, then > there is no problem at all! > Can anyone please give me more help on this? > > Thx alot > Jack > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- Andu

« previous php.general (#158781) next »