Re:why doesnt this work?

From: Date: Mon, 11 Feb 2002 09:26:17 +0000
Subject: Re:why doesnt this work?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-11951@lists.php.net to get a copy of this message
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: michel@systemtech.se WWW: http://www.systemtech.se

« previous php.windows (#11951) next »