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
Fix Error Parse Error: Parse Error, Unexpected T_VARIABLE In PHP Problems
Post Description: fix error parse error: parse error, unexpected t_variable in php problems
POST# 737
Posted On: Fri Feb 29, 2008 12:01 pm
maco
Topic: 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?
Share:
BBCODE:
HTML Code:


Thu Jun 07, 2007 11:20 am
1
hostman
Reply #1642
can you give show me the previous and next 10 lines of your script so i can troubleshoot it...
Thu Jun 07, 2007 11:22 am
2
maco
Reply #1643
this is how it looks like:

$pagtitle = 'this is my page title'
echo $pagtitle;
if($mac == true) { return false;}
Thu Jun 07, 2007 11:24 am
3
hostman
Reply #1644
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.

Thu Jun 07, 2007 11:24 am
4
maco
Reply #1645
ok, thanks, that worked.

thanks for your support.

What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload