<?php $listalbums=(\" SELECT artist, album, year, genre, bitrate, size, filetype FROM audio ORDER BY artist, year ASC LIMIT 50 \"); $artist = $getlist['artist']; $album = $getlist['album']; $year = $getlist['year']; $genre = $getlist['genre']; $bitrate = $getlist['bitrate']; $size = $getlist['size']; $filetype = $getlist['filetype']; for($i=0;$i<mysql_num_rows($runquery);++$i) { if ($i < 50 ) echo ($i+1), $artist , \" \", $album, \" \", $year, \" \", $genre, \" \", $bitrate, \" \", $size, \" \", $filetype, \"<br>\"; } ?>
Wywala mi w kółko tylko pierwszy wpis z tabeli
Cytat
1Amon Amarth Versus The World 2000 Melodic Death Metal 224 90 0
2Amon Amarth Versus The World 2000 Melodic Death Metal 224 90 0
3Amon Amarth Versus The World 2000 Melodic Death Metal 224 90 0
4Amon Amarth Versus The World 2000 Melodic Death Metal 224 90 0
itd...
2Amon Amarth Versus The World 2000 Melodic Death Metal 224 90 0
3Amon Amarth Versus The World 2000 Melodic Death Metal 224 90 0
4Amon Amarth Versus The World 2000 Melodic Death Metal 224 90 0
itd...
a chciałbym aby wywalał wpisy kolejno, co powinienem zmienić ?
pozdrawiam,
fiszol