".$_SESSION['loginud']." on sisse loginud (
".$punktide_arv."
)"; echo "
"; echo "
"; $mysql_tulemus=p2ring("SELECT nimi FROM teemad",$yhendus); while($rida=mysql_fetch_array($mysql_tulemus)){ echo "
".$rida['nimi']."
"; } echo "
"; for($i=0; $i<5; $i++){ echo "
\n"; for($j=1;$j<=5;$j++){ echo "
"; if($kysimused[$j][$i][vastatud]=="ei"){ echo "
".$kysimused[$j][$i]['kysimus']."
"; }else{ echo "vastatud"; } echo "
"; } echo "
\n"; } echo "
"; } ?>