Re: why doesnt this work?
| From: | Nicole Amashta | Date: | Fri, 08 Feb 2002 16:27:20 +0000 |
| Subject: | Re: why doesnt this work? | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-11920@lists.php.net to get a copy of this message | ||
the variable, submit, he is using in this example is not capitalized.
so that wouldn't work in this case.
> > <input type="Submit" name="submit"
> > value="Registrer"><br> </form>
"Laserjetter" <newsaddress@saracenvsu.org.uk> wrote in message
news:20020208161955.731.qmail@pb1.pair.com...
> 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.
> >
> >
> >
>
>