Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1
|
BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1
This is the forum to discuss the Wrox book Professional PHP5 by Ed Lecky-Thompson, Heow Eide-Goodman, Steven D. Nowicki, Alec Cove; ISBN: 9780764572821
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1 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 November 7th, 2008, 11:29 PM
Registered User
 
Join Date: Nov 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Code Error - Chapter 1 - Adding a Property

Under the section "Adding a Property" in the first chapter, I am receiving an error:

"Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/.../class.Demo.php on line 5".

Any suggestions on what is wrong? So frustrating to already run across errors on the second set of code.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Code Error Chapter 5 ostrandernw BOOK: Beginning Access 2007 VBA ISBN: 978-0-470-04684-5 3 January 30th, 2018 04:31 PM
Chapter 3 - Extra Credit Code [Adding To Database] lcoon BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1 1 November 15th, 2009 03:00 AM
Adding Custom Property to Visio 2003-Shape object ashu_from_india Pro VB 6 3 November 5th, 2008 04:21 AM
Chapter 12 code error rsteph7 BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 34 August 18th, 2004 01:53 PM





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