JeroenE
Terugkerende gebruiker
- Lid geworden
- 20 mrt 2005
- Berichten
- 1.950
Ik heb een klein testformuliertje gemaakt met twee inputs type text : YourName en FavoriteWord, en een input type submit.
De actie van het formulier is PHP002.php method post.
Die php file print de twee variables maar geeft twee maal dezelfde foutmelding :
Notice: Undefined variable: YourName in c:\Inetpub\wwwroot\phptutorial\PHP002.php on line 9
en
Notice: Undefined variable: FavoriteWord in c:\Inetpub\wwwroot\phptutorial\PHP002.php on line 10
Het volgende staat in de php file : <? print $YourName; ?>
<p> <? print $FavoriteWord; ?>
Wat loopt hier mis?
Greetz : Jer
en.
De actie van het formulier is PHP002.php method post.
Die php file print de twee variables maar geeft twee maal dezelfde foutmelding :
Notice: Undefined variable: YourName in c:\Inetpub\wwwroot\phptutorial\PHP002.php on line 9
en
Notice: Undefined variable: FavoriteWord in c:\Inetpub\wwwroot\phptutorial\PHP002.php on line 10
Het volgende staat in de php file : <? print $YourName; ?>
<p> <? print $FavoriteWord; ?>
Wat loopt hier mis?
Greetz : Jer
