Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5
This is the forum to discuss the Wrox book Beginning PHP4 by Wankyu Choi, Allan Kent, Chris Lea, Ganesh Prasad, Chris Ullman; ISBN: 9780764543647
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 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 30th, 2005, 09:33 PM
Registered User
 
Join Date: Mar 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default php5 - chap5

Hi all, just fyi...
There's minor typo mistake in the "try_catch" prog. code :

//if no errors thank the user
 if (!is_object($e) and isset($_POST['posted'])) {

echo "Thanks for your entry. We'll be in touch.";
} else {

//return the filled out form to the user and ask them to try again

Note : it should be ($_POST['posted']) instead of ($posted) as above.

Have a nice day,
Iris







Similar Threads
Thread Thread Starter Forum Replies Last Post
Chap5 collections clarification taternuggets BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 0 March 26th, 2008 12:22 PM
PHP5 example code PKHG Pro PHP 1 July 4th, 2006 11:17 AM
php4 or php5 dreadzz BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 July 15th, 2005 04:58 AM
how do you uninstall php5? cardme42 BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 September 2nd, 2004 09:42 PM





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