Parse Error, Unexpected '}'
RegisterLogin
Parse Error, Unexpected '}'
Post Description: If You Are Getting An Error On Your Php Scripts That Say Parse Error, Unexpected '}' We Might Be Able To Give You A Solution
Tags: Parse, Error,, Unexpected, \'}\'
This Post Was Posted On Dec 02, 2009 By Webune Tutorials #2836
Post Description: If You Are Getting An Error On Your Php Scripts That Say Parse Error, Unexpected '}' We Might Be Able To Give You A Solution
Tags: Parse, Error,, Unexpected, \'}\'
This Post Was Posted On Dec 02, 2009 By Webune Tutorials #2836
Parse Error, Unexpected '}' by Webune Tutorials
welcome to webune web hosting. this is our support section.
if you have web hosting with us, you probably might have started creating scripts in PHP. as a beginner, you will encounter many PHP errors along the way. one of them you might see for example:
Parse error: parse error, unexpected '}' in var/www/webs/forums/categories.php on line 19
so how do you fix this error.
the most likely cause of this error is because you did not end your line with the semi-colon
for example, you will get this error if you have this code:
<?php echo 'hi' ?>
to fix you need to have this code like this:
<?php echo 'hi'; ?>
so in order to stop generating this error make sure you end your lines coreectly
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
©2011 Webune Forums - Mon Dec 19, 2011 7:46 am
Powered by: Webune Forums V3
Powered by: Webune Forums V3