For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > December 2005 > Dosn't work









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Dosn't work
Rijkand Patjanka

2005-12-01, 7:01 pm

Hi

Can anyone tell me why the following code snippet dont work?
It is suppose to pass a var to itselfe, but nothing happens.

Kind Regards¨

Henrik Andersson


<?php
if ($navn) {
echo "Hej $navn, hvordan går det?";
}
else
{
?>
<form method=post action=navn.php>
Indtast dit navn:
<input type=text name="navn">
<input type=submit class="but" value="send">
</form>
<?php
}
?>

--
Henrik Andersson
Bellahøjvej 44A,6-1
2700 Brønshøj
Tlf. 30327879
www.patjanka.dk
www.skak-consult.dk


Oli Filth

2005-12-01, 7:01 pm

Rijkand Patjanka said the following on 01/12/2005 18:53:
>
> Can anyone tell me why the following code snippet dont work?
> It is suppose to pass a var to itselfe, but nothing happens.
>


You posted this exact question yesterday, and got an answer...

--
Oli
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com