Fix Error Parse Error: Parse Error, Unexpected T_VARIABLE In PHP Problems
Fix Error Parse Error: Parse Error, Unexpected T_VARIABLE In PHP Problems
Fix Error Parse Error: Parse Error, Unexpected T_VARIABLE In PHP Problems
Post Description:
Post Tags: fix, error, parse, error, parse, error, unexpected, t, variable, in, php, problems
This Post Has Been Viewed 644 Times Since Thu Jun 07, 2007 11:19 am Posted By maco with 5 replies
Post Description:
Post Tags: fix, error, parse, error, parse, error, unexpected, t, variable, in, php, problems
This Post Has Been Viewed 644 Times Since Thu Jun 07, 2007 11:19 am Posted By maco with 5 replies
| Fix Error Parse Error: Parse Error, Unexpected T_VARIABLE In PHP Problems |
can you tell me why i m getting this error on my php script that i am making. i have web hosting with www.webune.com and i don't know why i am getting this error, does it have to do with the server or is it me?
Leave Your Comments [ dejar commentarios ]
Comments and replies About Fix Error Parse Error: Parse Error, Unexpected T_VARIABLE In PHP Problems
:: 1 :: #5858 - Reply By hostman On Thu Jun 07, 2007 11:20 am
can you give show me the previous and next 10 lines of your script so i can troubleshoot it...
:: 2 :: #5859 - Reply By maco On Thu Jun 07, 2007 11:22 am
this is how it looks like:
$pagtitle = 'this is my page title'
echo $pagtitle;
if($mac == true) { return false;}
echo $pagtitle;
if($mac == true) { return false;}
:: 3 :: #5860 - Reply By hostman On Thu Jun 07, 2007 11:24 am
can you see the problem...
look at the line where it says:
$pagtitle = 'this is my page title'
you need to end your line with a semicolon (;)
so your line should look like this:
$pagtitle = 'this is my page title';
its not the server or the service. webune is known to have a really good service.
look at the line where it says:
$pagtitle = 'this is my page title'
you need to end your line with a semicolon (;)
so your line should look like this:
$pagtitle = 'this is my page title';
its not the server or the service. webune is known to have a really good service.
:: 4 :: #5861 - Reply By maco On Thu Jun 07, 2007 11:24 am
ok, thanks, that worked.
thanks for your support.
thanks for your support.
:: 5 :: #65060 - Reply By jagadeeshstel On Tue Aug 05, 2008 11:13 pm
parse error: syntax error, unexpected t_variable in c:\xampp\htdocs\web\testlog.php on line 9

