PHP Parse error: syntax error, unexpected $end in

using windows server 2008, iis7, fastcgi, what could this error be

the file line is the last (+1) line of the file
LVL 1
rgb192Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Loganathan NatarajanLAMP DeveloperCommented:
You are missing on the variable, $ ... just check and put like this

$variable 1
0
rgb192Author Commented:
what should I check for

$end
0
Loganathan NatarajanLAMP DeveloperCommented:
Look at this like this
0
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

PranjalShahCommented:
You dont have PHP short tags enabled in your php settings. Either you can enable short tags or start php with <?php
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
PranjalShahCommented:
To use short open tags, it must be enabled in PHP.INI. Search for short_open_tag in PHP.INI, and change the value to On. The line should look line:

short_open_tag = On
0
hmarcbowerCommented:
Sometimes that can happen, too, if you have closed your php but haven't closed out something in curly-braces.  i.e.:

<?php
if ($this == $that)
{
   $dosomething;
}
else
  $donothing;
?>
0
XzKtoCommented:
You can always try to cut parts of code untill you will no longer get this error (it doesnt matter that it will not work properly). That will help to localize error (you will just need to find syntax error in last cut part).
0
hmarcbowerCommented:
Post the code - easiest way for us to figure it out. :)
0
rgb192Author Commented:
best solution thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.