RE: [PHP-WIN] HELP !!!

From: Date: Sun, 24 Nov 2002 05:20:31 +0000
Subject: RE: [PHP-WIN] HELP !!!
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-17093@lists.php.net to get a copy of this message
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:katakmk@usa.net] Sent: 23 November 2002 12:18 To: php-windows@lists.php.net 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

« previous php.windows (#17093) next »