Re: why doesnt this work?
| From: | LaserJetter | Date: | Fri, 08 Feb 2002 16:18:44 +0000 |
| Subject: | Re: why doesnt this work? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-11919@lists.php.net to get a copy of this message | ||
Have you checked the capitalisation? (It seems ok in this bit of code)
Try changing $submit to $Sumbit anyway - see if it helps
LJ
"Chris" <tometerlaks@hotmail.com> wrote in message
news:20020208133805.41905.qmail@pb1.pair.com...
> 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.
>
>
>