Jump to content

Unexpected error...


xyn

Recommended Posts

Hey Guys,
I get the below error; do i actually need the '{'...

[color=red]Parse error: syntax error, unexpected '}' in /home/eumod/public_html/en/includes/functions.php on line 56[/color]

unlink("./global/images/private/$Av_name")
[color=green]line 56: }[/color]

[code=php:0]$sql = mysql_query("SELECT filename FROM avatar WHERE user='{$_SESSION['username']['usr_user']}'");
while( $data = mysql_fetch_array( $sql, MYSQL_NUM ))
{
$av_name = $data[0];
}
if(file_exists("./global/images/private/$av_name"))
{
unlink("./global/images/private/$Av_name")
}[/code]
Link to comment
https://forums.phpfreaks.com/topic/21884-unexpected-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.