Re: passing variables

From: Date: Sat, 03 Apr 2004 16:30:06 +0000
Subject: Re: passing variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-182255@lists.php.net to get a copy of this message
When using a link like xxx.proceed.php?language=gbr the 'proceed.php' script does not receive any $language variable. Does someone know how to get it run?
This is a register_globals issue. Refer to $_GET['language'] instead of just language. Or, at the top of your script, add $language = $_GET['language']; and you shouldn't have to change anything else. See the manual for $_GET and $_POST for more information. Larry

« previous php.general (#182255) next »