Parse error w/ PHP3
| From: | John Twyman | Date: | Wed, 10 May 2000 06:41:31 +0000 |
| Subject: | Parse error w/ PHP3 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-10@lists.php.net to get a copy of this message | ||
Dear all,
I've recently started working with PHP (v 3.0.12) and MySQL to provide some simple database-driven web services for our Faculty. The first task at hand is the dynamic serving of timetable information for the courses offered within the Faculty.
I've written a script and debugged as much of it as I can but have now reached a point where I'm stumped. When loading the script in my browser I receive the following error:
'Parse error: parse error in /path/to/newlist.php on line X'
The problem is that line X is one line bigger than the number of lines in the script. I'm mystified.
The source is online at http://www.scifac.usyd.edu.au/timetable/newlist.phps
The script is intended to be called with search criteria included in the URL. eg. http://www.scifac.usyd.edu.au/timetable/newlist.php?year=1°ree=BSc
I'm sure the problem is easy to fix, but my php-novice eyes can't see it. Any help would be greatly appreciated.
Regards,
John
===================================================================
John Twyman | Computer Systems Officer | Faculty of Science |College of Sciences & Technology | Email: J.Twyman@cst.usyd.edu.au
Room 207/210 | Phone: +61 2 9351 5453 Carslaw Building, F07 | Mobile: 0413 027 051 University of Sydney NSW 2006 | Fax: +61 2 9351 5467===================================================================