RE: [PHP] strange parse error at EOF
| From: | John W. Holmes | Date: | Sun, 01 Dec 2002 17:45:04 +0000 |
| Subject: | RE: [PHP] strange parse error at EOF | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126619@lists.php.net to get a copy of this message | ||
> Get a strange parse error at End of File
If you get a parse error on the very last line of the file, it's
generally because you missed a closing bracket somewhere.
In your case, you're missing the closing bracket for this elseif
elseif ($SENDMAIL == 'true')
This is where proper indentation of your code will help you catch simple
mistakes like this...
---John Holmes...