RE: [PHP] Still can't pass variable through url

From: Date: Fri, 08 Aug 2003 06:39:09 +0000
Subject: RE: [PHP] Still can't pass variable through url
Groups: php.general php.windows 
Request: Send a blank email to php-general+get-158776@lists.php.net to get a copy of this message
See if changing it to page.php?year=$year&month=$month works The separator between the page and the query string is "?" The separator between each key/value pair is just "&" -----Original Message----- From: Jack [mailto:nedcor4@nedcor.com.hk] Sent: Friday, 8 August 2003 4:30 PM To: php-general@lists.php.net; php-windows@lists.php.net Subject: [PHP] Still can't pass variable through url Dear all I had set the "register_global=on" and "magic_quotes_runtime=off" already, 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 __________ Information from NOD32 1.468 (20030725) __________ This message was checked by NOD32 for Exchange e-mail monitor. http://www.nod32.com

« previous php.general (#158776) next »