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 "Nimi |
Aeg |
\n";
while($rida=mysql_fetch_array($vastus)){
echo "$rida[nimi] |
$rida[aeg] |
\n";
}
echo "
";
mysql_close();
?>