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.
|