if you're using PHP <= 4.1.x, you'd be right. if you're using PHP 4.2.x, you'll need to use $pageNum = $_GET['pageNum'] and then, use normally $pageNum.
kisses, :) --- Fabio Moraes [EMAIL PROTECTED] +55 21 3088 9548 > -----Original Message----- > From: DAn [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 23, 2002 4:22 PM > To: [EMAIL PROTECTED] > Subject: [PHP-INST] im a PHP newbie, please help :D > > > 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. > > Is this something to do with how PHP4 is set up or is it my server? Im > currently running IIS on Windows XP altho I had the same problem with > Apache. > > Thanx > Dan > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php