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