I soppose that the initial "<" in the FORM block was left out just in the snippet presented here? form method="post" action="registRer.php"> instead of <form method="post" action="registRer.php">
I also would recommend to remove all Caps inside action/value.. and so on - not that i know if this is any cause of errors, but it eliminates errors due to incorrectly written capilitazion. Chris wrote: > i get this message when i try to open this page : PHP Warning: Undefined > variable: submit in c:\inetpub\wwwroot\testsite\registrer.php on line 8 > > form method="post" action="registRer.php"> > Fornavn: <input type="text" name="fornavn"><br> > Etternavn: <input type="text" name="etternavn"><br> > <input type="Submit" name="submit" value="Registrer"><br> </form> > <? > IF ($submit) // this is line 8 > { > } > ?> > > If you know why it doesnt work please help. -- Michel Laine Engineer / Network Administrator SYSTEM TECHNOLOGY SWEDEN AB Phone:(+46)-8-982255 Fax:(+46)-8-982060 Snail mail: Vretenvagen 2, 171 54 SOLNA, SWEDEN E-mail: [EMAIL PROTECTED] WWW: http://www.systemtech.se -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php