Hi, I am totaly new to PHP and i installed Apache server and PHP on my computer with windows XP yesterday.
Now I think everythink is working right.
When I launch this script it works:
index.php
<?
$name="Daniel";
$age="25";
echo "$name $age";
?>
But.. when I make a form that sends data to a PHP file it doesnt work here is the codes:
index.html
<head></head>
<body>
<form action="sida2.php" method="get">
Firstname: <input type="text" name="Fnamn"><BR>
Lastname: <input type="text" name="Enamn"><BR>
<input type="reset" value="Avbryt">
<input type="submit" value="OK">
</form>
</body>
sida2.php
<?
echo "$Fnamn $Enamn";
?>
Every thing works, I even see the value in the adressfeild in IE, exept that the value is not printed out in the .php page..
Is my code wrong or is it something I missed doing in the installation process?
BTW, when I launch Apache it say "[month day time ect ect..]" [warn] module mod_php4.c is already added, skipping Apache/1.3.24 <win32> PHP/4.2.0 running.."
Is this normal and ok?
I would be very happy if u xperts could help me 🙂
Tnx