| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|parse error, unexpected T_VARIABLE in ...|
unexpected parse error
I am getting what seems to be a very unusual error which I belive may have something to do with my installation of php (its a new intallation). This is the simplified senerio.
I have a file which includes another file:
<? php include('file_2.php'); ?>
file 2 can contain a statement as simple as:
<?php $testVar = "this is a test";?>
and I get this error:
Parse error: parse error, unexpected T_VARIABLE in file_2.php on line 1
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved