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


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to