nie wiem o co chodzi
nazwa bazy mysql: "baza"
tabela "song"
wszystkie pola które chce wczytać istnieją (title, id_artist_song, rok_prem)
<? $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> EOD; } $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; ?>