Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
| Search | Today's Posts | Mark Forums Read
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old May 10th, 2008, 02:15 AM
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error running CH 19 case study. dw60025 BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9 2 April 2nd, 2009 10:18 PM
Ch 17 - Sender Object not working? deanC4 BOOK: Beginning ASP.NET 2.0 and Databases 1 April 18th, 2007 01:25 PM
IStateManager.TrackViewState() Ch 17 EdKroket BOOK: Professional ASP.NET 2.0 Server Control and Component Development ISBN: 978-0-471-79350-2 0 January 25th, 2007 07:10 AM
Ch. 17 & 19 Apache instead of IIS Kevin Tough VB.NET 2002/2003 Basics 0 October 3rd, 2005 01:29 AM





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