Global vars are turned off and you instructor needs to go back to
school.
 
 

Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED] 

 
 -----Original Message-----
From: Rod D [mailto:[EMAIL PROTECTED]] 
Sent: Monday, 20 January 2003 4:33 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] undefined variable error



hi folks,
 
i need help. i am currently taking a php course, my instructor can't
even figure it out why i'm the only one getting this problem.
 
just installed php 4 in my system details below:
 
1. used php-4.3.0- IIS installer
2. have: win2kserver with IIS
            pentium 1G laptop
            ie 5.00
3. went to php.ini and changed extension_dir = "c:/php"
 
 
i can't seem to get my php to work if it involves "FORMS"
i have attached 2 files and below is what i am getting as my output:
    

Example 3-4: Form Results


Notice: Undefined variable: FirstName in
c:\inetpub\wwwroot\myweb\example3-4.php on line 14
Your first name is .

Notice: Undefined variable: LastName in
c:\inetpub\wwwroot\myweb\example3-4.php on line 15
Your last name is .

Notice: Undefined variable: Email in
c:\inetpub\wwwroot\myweb\example3-4.php on line 16
Your E-mail address is .

Notice: Undefined variable: Comments in
c:\inetpub\wwwroot\myweb\example3-4.php on line 17
This is what you had to say:

Reply via email to