Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0
This is the forum to discuss the Wrox book Beginning PHP5, Apache, and MySQL Web Development by Elizabeth Naramore, Jason Gerner, Yann Le Scouarnec, Jeremy Stolz, Michael K. Glass; ISBN: 9780764579660
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 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 April 3rd, 2007, 07:20 PM
Registered User
 
Join Date: Dec 2004
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 2 functions

Can anybody help me out here. I am on Chapter 2 and have just got to the bit where you use functions to show your Top 5 & 10 movies with the moviesite.php file. I followed it meticulously and finished with the following error:Parse error: parse error, unexpected '<' in C:\Program Files\xampp\htdocs\Playing\movie1.php on line 27 Of course there is no such error. After about an hour of trying to figure out what has gone wrong I downloaded the source files and used moviesite rev 09 but get exactly the same error. I know I can jump over this, but I really want to know why it doesn't work. I don't want just learn parrot fashion without understanding what I am doing. Has anybody else had this problem and if so how did you fix it.

  #2 (permalink)  
Old April 3rd, 2007, 07:57 PM
Registered User
 
Join Date: Dec 2004
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Right I have found out what my problem was. although the error was being shown as being on moviesite.php it was actually on movie1.php The '<' it was picking up was being sent through from that page. I never did find out what my mistake was but when I replaced movie1.php with a source file it worked.



Similar Threads
Thread Thread Starter Forum Replies Last Post
C# functions daniel.mihalcea C# 2008 aka C# 3.0 3 September 11th, 2008 05:10 PM
functions xelepi PHP How-To 1 March 10th, 2006 02:59 AM
Functions Meg Intro Programming 1 January 23rd, 2006 01:03 PM
Chapter 15 - functions.php question buzzuh BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 September 7th, 2004 08:31 AM
Help with Functions megabytes C# 1 August 7th, 2003 12:48 PM





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