p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Beginning PHP (http://p2p.wrox.com/forumdisplay.php?f=95)
-   -   error in ch 17 on running both fils (http://p2p.wrox.com/showthread.php?t=68028)

no17 May 10th, 2008 02:15 AM

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


All times are GMT -4. The time now is 07:25 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.