$link=mysql_connect("localhost","30164","ctmzdq")or die("connectie niet gelukt\n");
mysql_select_db("30164")or die("database selecteren is niet gelukt\n");
$q3="SELECT DISTINCT `RUBRIEK` FROM `BOEKEN`";
$result=mysql_query($q3)or die("query is niet gelukt\n");
echo "" ;
While ($rij=mysql_fetch_row($result))
{
echo "\n" ;
echo "$rij[0] | \n" ;
echo "
\n" ;
}
echo "
" ;
mysql_free_result($result);
mysql_close($link);
?>