Re: i need help
| From: | Donatas | Date: | Thu, 27 Nov 2003 16:30:24 +0000 |
| Subject: | Re: i need help | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-22231@lists.php.net to get a copy of this message | ||
Disregard those stars... I guess this is a bug in my mail app or php-win mailing list, it should have been bold instead.
Donatas wrote:
It doesn't work coz you need to do it this way: echo("<br>Your username = ". *$_GET ['username']*."<br>"); echo("Your password = ". *$_GET ['password']*."<br>"); you use $_GET ['']; superglobal array for values passed via link or form where type is get or $_POST ['']; if you get info from a form via post method. Cheers, Donny Hasan Barýþ Karayel wrote:Hi i am new in PHP... i made very a simple code but it did not work properly... this is my code: <!-------------------------- index1.php" --------------------------------------------> <html> <head><title>::WaterBike Team Istanbul - ITU::</title></head> <body bgcolor = "black"> <font color = white> <a href="index1.php?username=baris&password=bkarayel">Show my password</a> <?php echo("<br>Your username = ". $username."<br>"); echo("Your password = ". $password."<br>"); ?> </font> </body> </html> when i click the link, i expect this output: Show my password Your username : baris Your password : bkarayel But the output is: Show my password Your usename : Your password : what is the problem?(note: my system is windows 98 - apache 2.0.48 - php 4.3.4)