Parse error w/ PHP3
[email protected] (John Twyman)
| Newsgroups | php.general |
|---|---|
| Message-ID | <[email protected]> |
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: [email protected] 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 ===================================================================