Re: ERROR
| From: | Liam MacKenzie | Date: | Sat, 21 Sep 2002 23:53:07 +0000 |
| Subject: | Re: ERROR | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-117124@lists.php.net to get a copy of this message | ||
Yes.
If you've done something like this:
if(!empty($var)){echo"Blah!";
It'll root up your script and give an error at the end of the file.
Make sure all {'s are closed.
Cheers,
Liam
----- Original Message -----
From: "Georgie Casey" <webmaster@filmfind.tv>
To: <php-general@lists.php.net>
Sent: Sunday, September 22, 2002 9:38 AM
Subject: [PHP] ERROR
I'm getting a:
Parse error: parse error, unexpected $ in
/home/virtual/site264/fst/var/www/html/include/paypal.php on line 126
in my script. the script only has 126 lines, and I cant find any $ that
might be causing it. But there's a lot of loops to close in the script so
I'm thinking one of these could be to blame. So my question is, does PHP
return this error when some loops aren;t closed??
--
Regards,
Georgie Casey
webmaster@filmfind.tv
***************************
http://www.filmfind.tv
Online Film Production Directory
***************************
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php