Not sure what you are trying to do here... are you trying to set $a from the
url i.e. http://blahblah.blah?a=1234 ? If yes then you will need to use
$_GET['a'] in your script as variables are no longer automatically assigned
from external sources... e.g.

<?
$a = 123;
echo 'Original value: '.$a;

$a = (isset($_GET['a']) ? $_GET['a'] : $a);
echo 'New value is: '.$a;
?>

HTH
Rich

-----Original Message-----
From: kata [mailto:[EMAIL PROTECTED]]
Sent: 23 November 2002 12:18
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] HELP !!!


ok, i am not a very good programmer, but i've used PHP+MySQL+omniHTTPd for
designing my web pages.
 here is the problem-

- i have installed everything above.
it just can use "GET_VARS" or something, because i have this little script
(test.php):

<?
echo $a;
$a=123;
echo $a;
?>

ok, i start IE, hit "localhost", it displays 123, but if i assign to "a"
something like a=adadada, it doesen't get the values, still displays
123....what i've done wrong, everything is setup as ussual, i've tryed
Apache instead of omnihttpd, still nothing......

please help me on this one....! :(




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




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

Reply via email to