$qSelect_berichten = mysql_query("SELECT * FROM advertentie WHERE klantnummer ='".$_SESSION['loggedin']."' ") or die (mysql_error());
while($aBerichten = mysql_fetch_array($qSelect_berichten))
{
echo ' //hiernaa worden de gegevens zichtbaar gemaakt.
$qSelect_berichten=mysql_query("SELECT * FROM advertentie WHERE klantnummer ='".$_SESSION['loggedin']."' ") or die(mysql_error());
$rQuery = "SELECT * FROM advertentie WHERE klantnummer ='".$_SESSION['loggedin']."' ";
$qSelect_berichten = mysql_query($rQuery) or die (mysql_error());
echo $rQuery;
// ....
$rQuery="SELECT * FROM advertentie WHERE klantnummer ='".$_SESSION['loggedin']."' ";