ho un errore su questo script :

$comandosql1 = "select * from " . $taballegati_gara ." where id='" .$id ."'";
$vista1 = mysql_query($comandosql1,$link);
$riga = mysql_fetch_array($vista1);

header ("Location: inserisci_file_gara.php?id=$riga['file']");

pero la riga dell'header mi da sto errore:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in ......\sport\riservata\elimina_allegato_risultato. php on line 14


che c'è di male ??