RE: [PHP-INST] im a PHP newbie, please help :D
| From: | Moraes, Fabio | Date: | Mon, 23 Sep 2002 19:55:47 +0000 |
| Subject: | RE: [PHP-INST] im a PHP newbie, please help :D | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-8535@lists.php.net to get a copy of this message | ||
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
fabio.moraes@eds.com
+55 21 3088 9548
> -----Original Message-----
> From: DAn [mailto:freakonaleash25@ntlworld.com]
> Sent: Monday, September 23, 2002 4:22 PM
> To: php-install@lists.php.net
> 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
>