|
| Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Registered
Join Date: Jan 2008
Location: Califoria, USA
Posts: 2
Reputation: 0
|
PHP syntax - please help !!
Hi
The following script retiurns an error - PHP Parse error: syntax error, unexpected $end in /hermes/web##/b##/pow.username/htdocs/AerialPoolSurvey/phptest/RotateOnServerScript.php on line 60 here is the script - I cannot see the error ! PHP Code:
Last edited by IanS; 6-15-08 at 02:56 AM.. Reason: Added php tags and removed sensitive info |
|
|
|
|
#2 |
|
Custom User Title
Join Date: Aug 2006
Location: Michigan
Posts: 2,669
Reputation: 337
|
The single quote on this line:
PHP Code:
|
|
|
|
|
#3 |
|
Join Date: Oct 2002
Location: Dallas
Posts: 2,914
Reputation: 311
|
yea, that's definitely a problem. Nothing else really jumped out at me.
What do you use to write your scripts in? I use notepad++ which supports context highlighting. When you forget to close (or open) a quote or something, the highlighting makes it a lot easier to find. Linkage: http://notepad-plus.sourceforge.net/uk/site.htm |
|
|
![]() |
| Thread Tools | |
|
|