hi! I'm a total newbie to php4 or web design and i (of course) have a
problem:
i'm using apache 2.x and php4 as a module.
so, when i use the GET method to pass data to my php script:

script.php?x=5


 i can't access it as a normal global variable:

<?php
    print $x;
?>

the only way i can get to it is:

<?php
    print _GET['x']
?>

what's wrong?

by the way, what's the difference between GET and POST methods anyway?






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

Reply via email to