Hi,

    In your form you should have fields with these
names(i.e. first_name, last_name etc.) and method
attribute of form should be set to post.

zareef ahmed  


--- Monique Verrier <[EMAIL PROTECTED]> wrote:
> Hi!
> 
> I am hoping that someone can be of help.  I think
> that there may be a
> problem with my installation because I'm getting the
> same error with a
> tutorial I'm working on and some software I tried to
> install.  I keep
> getting the undefined index error.  Does anyone have
> any suggestions?
> Thanks so much!
> 
> Monique.
> 
> Here is the code:
> 
> <?
> 
> include 'db.php';
> 
> // Define post fields into simple variables
> $first_name = $_POST['first_name'];
> $last_name = $_POST['last_name'];
> $email_address = $_POST['email_address'];
> $username = $_POST['username'];
> $info = $_POST['info'];
> 
> .............etc.
> 
> Here are the errors:
> 
> Notice: Undefined index: first_name in
> c:\inetpub\wwwroot\mem\register.php
> on line 6
> 
> Notice: Undefined index: last_name in
> c:\inetpub\wwwroot\mem\register.php on
> line 7
> 
> Notice: Undefined index: email_address in
> c:\inetpub\wwwroot\mem\register.php on line 8
> 
> Notice: Undefined index: username in
> c:\inetpub\wwwroot\mem\register.php on
> line 9
> 
> Notice: Undefined index: info in
> c:\inetpub\wwwroot\mem\register.php on line
> 10
> 


=====
Zareef Ahmed :: A PHP Developer in Delhi(India).
Homepage :: http://www.zasaifi.com


                
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

Reply via email to