Log in

View Full Version : Error with php



khile
01-06-2007, 07:05 PM
im having a problem with an error

i keep getting

Parse error: syntax error, unexpected $end in /home/vps154/public_html/pages/a_options.php on line 233

Any help would be appreciated

Had to upload to rapidshare as file had too may characters

http://rapidshare.com/files/10530865/a_options.php.html

Thank you once again

thetestingsite
01-06-2007, 07:22 PM
it means you are missing a bracket or a semicolon somewhere. I'll take a look at the code and see if I can fix it, then explain what the solution was.

NineTwoZero
01-06-2007, 07:23 PM
can u paste line 233 here? :p

thetestingsite
01-06-2007, 07:24 PM
Ok. I just had a look at the code, and it was as I suspected, a missing bracket before the ending "?>". The fix is below in red:



else {
echo "$lang_a_denied";
}
?>

khile
01-06-2007, 07:47 PM
Thank you works great now