View Single Post
  #1 (permalink)  
Old May 10th, 2008, 02:15 AM
no17 no17 is offline
Registered User
 
Join Date: May 2008
Location: budaun, u.p., India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default error in ch 17 on running both fils

when i run both php files in this chapter17 I found many errors on undefined variables as listed below i have used corrct code and global variables are on in my php what is the problem please anybody help me. below is the output of two files:
1==dir_manager
Admin | Update DB | Edit Category Mode | Add Category Mode | New Listings | View Listings in Admin Mode


Notice: Undefined variable: num_item in c:\program files\easyphp1-8\www\directorymanager\php_directory.inc on line 231

Notice: Undefined variable: num_item in c:\program files\easyphp1-8\www\directorymanager\php_directory.inc on line 231
Welcome to PHP Directory! (9 subcategories)
Search: OR AND
Applications (8 subs, 1 item) Articles (7 subs, 0 item)
Books (3 subs, 1 item) Business (0 sub, 2 items)
Code Snippets (5 subs, 0 item) Communities (2 subs, 0 item)
General (0 sub, 2 items) Portal (0 sub, 1 item)
Tutorials (0 sub, 10 items)

[Directory Home]

Notice: Undefined variable: link_id in c:\program files\easyphp1-8\www\directorymanager\php_directory.inc on line 630

Notice: Undefined variable: default_dbname in c:\program files\easyphp1-8\www\directorymanager\php_directory.inc on line 630
Top 5!
- 1. Wrox Press Inc.
- 2. NeoQuest Communications, Inc.
- 3. Game Programming
- 4. Sending Emails in PHP
- 5. Beginning PHP


Notice: Undefined variable: link_id in c:\program files\easyphp1-8\www\directorymanager\php_directory.inc on line 630

Notice: Undefined variable: default_dbname in c:\program files\easyphp1-8\www\directorymanager\php_directory.inc on line 630
New 5!
- 1. Professional PHP Programming
- 2. PHP Biz!
- 3. MIME Mailer
- 4. MySQL Admin
- 5. PHP Forum
2===php_directory.php

Notice: Undefined variable: action in c:\program files\easyphp1-8\www\directorymanager\php_directory.php on line 4

Notice: Undefined variable: num_item in c:\program files\easyphp1-8\www\directorymanager\php_directory.inc on line 231

Notice: Undefined variable: num_item in c:\program files\easyphp1-8\www\directorymanager\php_directory.inc on line 231
Welcome to PHP Directory! (9 subcategories)
Search: OR AND
Applications (8 subs, 1 item) Articles (7 subs, 0 item)
Books (3 subs, 1 item) Business (0 sub, 2 items)
Code Snippets (5 subs, 0 item) Communities (2 subs, 0 item)
General (0 sub, 2 items) Portal (0 sub, 1 item)
Tutorials (0 sub, 10 items)

[Directory Home]

Notice: Undefined variable: link_id in c:\program files\easyphp1-8\www\directorymanager\php_directory.inc on line 630

Notice: Undefined variable: default_dbname in c:\program files\easyphp1-8\www\directorymanager\php_directory.inc on line 630
Top 5!
- 1. Wrox Press Inc.
- 2. NeoQuest Communications, Inc.
- 3. Game Programming
- 4. Sending Emails in PHP
- 5. Beginning PHP


Notice: Undefined variable: link_id in c:\program files\easyphp1-8\www\directorymanager\php_directory.inc on line 630

Notice: Undefined variable: default_dbname in c:\program files\easyphp1-8\www\directorymanager\php_directory.inc on line 630
New 5!
- 1. Professional PHP Programming
- 2. PHP Biz!
- 3. MIME Mailer
- 4. MySQL Admin
- 5. PHP Forum


abdul nadeem
Reply With Quote