Wyświetla coś takiego i nie mam pojęcia gdzie lezy bład...
Parse error: syntax error, unexpected $end in
C:\xampp\test\nowe.php on line
55<?
$query = "SELECT title, id_artist_song, rok_prem" .
"FROM song" ;
$song_header=<<<EOD
<h2><center>Baza danych muzyki</center></h2>
<table width="70%" border="1" cellpading="2" cellspacing="2" align="center">
<tr>
<th>Tytuł utworu</th>
<th>Wykonawca</th>
<th>Rok premiery</th>
</tr>
</table>
EOD;
$song_details = '';
{
$title = $row['title'];
$id_artist_song = $row['id_artist_song'];
$rok_prem = $row['rok_prem'];
$song_details .=<<<EOD
<tr>
<td>$title</td>
<td>$id_artist_song</td>
<td>$rok_prem</td>
</tr>
}
$song_details .=<<<EOD
<tr>
<td> </td>
</tr>
<tr>
<td>Łącznie filmów: $num_song</td>
</tr>
EOD;
$song_footer ="</table>";
$song =<<<SONG
$song_header
$song_details
$song_footer
SONG;
echo "W bazie danych znajduje sie $num_song utworów."; ?>
Ten post edytował powertee 15.01.2008, 18:23:00