Wrox Programmer Forums
|
BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143
This is the forum to discuss the Wrox book Beginning PHP 6, Apache, MySQL 6 Web Development by Timothy Boronczyk, Elizabeth Naramore, Jason Gerner, Yann Le Scouarnec, Jeremy Stolz; ISBN: 9780470391143
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 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
 
Old March 18th, 2011, 11:17 AM
Registered User
 
Join Date: Mar 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default ch.14 - admin_transact is not correct file?

ml_admin_transact.php should have these 3 conditions covered in the case statements (How It Works page 483), but the code provided in the download has completely different cases covered for. What is going on and has anyone else seen this problem?
----
These cases should be covered for:

switch ($action) {
case ‘Add New Mailing List’:
...
break;
case ‘Delete Mailing List’:
...
break;
case ‘Send Message’:
...
break;
}
----
Instead, the code provided in the download has the following for cases:

from ml_admin_transact.php
case 'Subscribe':
case 'confirm':
case 'Remove':

So, when you enter a name in the mailing list name field and click "Add New Mailing List," nothing happens because the case isn't covered for. The ml_admin_transact.php file has user cases covered for instead of list cases which is very strange.

Please help, thank you





Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch. 14 & ulysses Ome Ko BOOK: Professional PHP6 5 February 10th, 2011 01:54 PM
Ch 14 Help digink BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 November 3rd, 2009 03:35 PM
ch.14 file errors caseyc BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 10 February 28th, 2006 03:59 PM
CH. 14 Stored Procedure mcauliff BOOK: Beginning ASP 3.0 1 October 4th, 2005 01:52 PM
Ch. 14 Calendar Modification Astalder BOOK: Beginning ASP.NET 1.0 6 December 1st, 2004 06:23 PM





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