Questo EOD mi fa comparire questo errore, come lo risolvo?
arse error: syntax error, unexpected $end in prova.php on line 201

echo <<<EOD
<tr>
<td>{$array["data"][$i]}</td> <td>{$array["ora"][$i]}</td> <td>{$array["evento"][$i]}</td> <td><button type='button' name='add_row' onClick="AddRow('{$array["evento"][$i]}','played','this.value','1')">{$array["esito"][1][$i]}</button></td> <td><button>{$array["esito"][2][$i]}</button></td> <td><button>{$array["esito"][3][$i]}</button></td>
</tr>
EOD;