I forgot somthing....
 <?
 if (isset($submit) ) // this )
 {
   IF ($submit) // this is line 8
   {
 .................
   }
 }
 ?>

----- Original Message -----
From: "George Lioumis" <[EMAIL PROTECTED]>
To: "chris" <[EMAIL PROTECTED]>; "PHP Mailing List"
<[EMAIL PROTECTED]>
Sent: Friday, February 08, 2002 3:37 PM
Subject: [PHP-DB] Re: [PHP-WIN] why doesnt this work?


> The first time you enter the page submit button is not pressed. That's why
> it gives you this error.
> Try the following:
> <?
> if (isset($submit)
> {
>   IF ($submit) // this is line 8
>   {
> .................
>   }
> }
> ?>
>
> ----- Original Message -----
> From: "chris" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, February 08, 2002 3:38 PM
> Subject: [PHP-WIN] why doesnt this work?
>
>
> > 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.
> >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to