Leia 2 samasugust looma.

Start 0){ $sorttulp=$_REQUEST["sort"]; } $lause="SELECT nimi,aeg FROM ajad GROUP BY aeg ASC"; $vastus=mysql_query($lause); echo ""; echo "\n"; while($rida=mysql_fetch_array($vastus)){ echo "\n"; } echo "
Nimi Aeg
$rida[nimi] $rida[aeg]
"; mysql_close(); ?>