Re: im a PHP newbie, please help :D

From: Date: Tue, 24 Sep 2002 07:43:57 +0000
Subject: Re: im a PHP newbie, please help :D
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-8548@lists.php.net to get a copy of this message
DAn wrote:
HELP!! Am I right in thinking that creating a link on a page that reads: photos.php?pageNum=1 should create a variable named $pageNum with a value of 1? The problem is that when I try to use the pageNum variable it has no value. I am having the same problem with forms as well - I cannot retrieve data from a form using either GET or POST. If register_globals is off in php.ini then the example you give is retrieved with
$myvar = $_GET['myvar'}; Posted variables are retrieved with: $myvar = $_POST['myvar'}; If you still have problems then I suggest you post a simple example to this list. HTH Chris

« previous php.install (#8548) next »