Can you PHP ? Help me.

From: Date: Mon, 04 Apr 2005 08:21:42 +0000
Subject: Can you PHP ? Help me.
Groups: php.test 
Request: Send a blank email to php-test+get-696@lists.php.net to get a copy of this message
Hi, I'm a absolut beginner in PHP and I.ve testing som PHP code on my IIS server and it's working fine but I'm wondering why this code not working. I get not no variabel at all after "RESULTAT". Thanks to you. Chris <HTML> <HEAD> <TITLE>Ett test av PHP-funktioner</TITLE> </HEAD> <BODY> <FONT FACE=arial> <H1>Skicka variabler</H1> Klicka på en av nedanstående länkar <P> <A HREF="phptest.php?do_what=datum">Klicka här för dagens datum</A><BR> <A HREF="phptest.php?do_what=tid">Klicka här för aktuell tid</A><P> <B>RESULTAT:</B><BR> <? if(isset($do_what)) { if($do_what=="datum") { echo(date("j F Y")); } if($do_what=="tid") { echo(date("H:i:s")); } } ?> </FONT> </BODY> </HTML>

« previous php.test (#696) next »