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 August 12th, 2010, 09:07 AM
Authorized User
 
Join Date: Apr 2010
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default Issues with Chapter 16

A couple of minor issues with Chapter 16 so far (has anyone else actually made it to the end of this book?).
You will have problems when you try to log in as [email protected]. This is because when the account was set up, the password was filtered through the PASSWORD() function, but they do not use it in the select statement for the user login. You will need to either change the administrator password in the database, or reedit all of your code (whether you copied it manually or downloaded it from their site) so that all of your sql uses the PASSWORD() function in the appropriate places.

Also on the edit user page, the code for creating the optgroup is screwed up. Don't know why it doesn't work like it it supposed to, but an easy to fix it is to just rewrite the foreach that generates the optgroup so it looks like this:
foreach ($a_users as $key => $value) {
echo '<optgroup label="' . $value . '">';
user_option_list($db, $key);
echo '</optgroup>';
}
Then your groupings will look like they are supposed to.

That's it for now. I still have about 20 more pages to go in this book, so I will probably be back with more issues, and hopefully some fixes for them.

Last edited by Boboneil; August 12th, 2010 at 11:50 AM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 16 Fig 16-11 krsouthern BOOK: Professional SharePoint 2007 Development ISBN: 978-0-470-11756-9 1 July 8th, 2008 12:11 PM
Chapter 16 yspider BOOK Beginning CSS: Cascading Style Sheets for Web Design, 2nd Ed; ISBN: 978-0-470-09697-0 1 June 19th, 2008 10:27 AM
Chapter 16 Login/Logout Issues tenjinspen BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 2 June 12th, 2008 04:11 AM
Chapter 16 boyce0324 VB.NET 2002/2003 Basics 1 June 5th, 2007 01:59 AM
Chapter 16 ioda006 JSP Basics 3 August 21st, 2004 07:28 PM





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