hello,
I'm trying to learn the basics of PHP, but when I try to
run a little simple script I received a error on my screen:
Notice: Undefined variable: verzenden in c:\program files\apache
group\apache\ht docs\test\formu lier1.php on line 7
this is the source:
<form name="formulier 1" action="formuli er1.php" method="get">
Voer alstublieft uw voornaam in: <input type=text
name=voornaam>< br><br>
Voer alstublieft uw achternaam in: <input type=text
name=achternaam ><br><br>
<input type=submit name=verzenden>
</form>
<?php
if($verzenden){
echo "<b>Harteli jk welkom, $voornaam $achternaam.</b>";
}
?>
is my installation wrong of PHP ?
did I forget some source ?
thanks,
Jonay
I'm trying to learn the basics of PHP, but when I try to
run a little simple script I received a error on my screen:
Notice: Undefined variable: verzenden in c:\program files\apache
group\apache\ht docs\test\formu lier1.php on line 7
this is the source:
<form name="formulier 1" action="formuli er1.php" method="get">
Voer alstublieft uw voornaam in: <input type=text
name=voornaam>< br><br>
Voer alstublieft uw achternaam in: <input type=text
name=achternaam ><br><br>
<input type=submit name=verzenden>
</form>
<?php
if($verzenden){
echo "<b>Harteli jk welkom, $voornaam $achternaam.</b>";
}
?>
is my installation wrong of PHP ?
did I forget some source ?
thanks,
Jonay
Comment