im getting this error,i cant find the problem with it

"parse error syntax error unexpected t_constant_encapsed_string on line 1"

this is the random.php

PHP Code: 
<?php
require_once '../../config.php';
include (
'../../includes/core.php');

// Include language file
include '../../language/'.$setting['language'].'.php';
include 
'../../'.$setting['template_url'].'/template_settings.php';

$sql mysql_query("SELECT * FROM ava_games WHERE published=1 ORDER BY rand() LIMIT 1") or die(mysql_error());
while(
$row mysql_fetch_array($sql)) {
    
    
$url GameUrl($row['id'], $row['name'], $row['category_id']);
        
    
$name shortenStr($row['name'], $template['module_max_chars']);
    
    if (
$setting['module_thumbs'] == 1) {
        
$image_url GameImageUrl($row['image'], $row['import'], $row['url']);
        
$image '<img src="'.$image_url.'" width= 100 height= 100 style="vertical-align: middle;" /> ';
    }
    else {
        
$image '';
    }
    
    echo 
'<center><a href="'.$url.'" title="Play '.$name.'">'.$image.'</a></center>';
}
?>
appretiate it if someone could advise
iMage Reviewed by iMage on . php error im getting this error,i cant find the problem with it "parse error syntax error unexpected t_constant_encapsed_string on line 1" this is the random.php <?php require_once '../../config.php'; include ('../../includes/core.php'); Rating: 5