PHP interesse |
|
Hallo,
Ik heb de volgende code:
<?php
include '../functions.php';
include '../top.php';
?>
<div class="content">
<h1>Mail</h1>
<p>
<?php
$qmail = mysql_query("SELECT * FROM mail ORDER BY sendtime DESC");
while ($mail = mysql_fetch_array($qmail))
{
if($mail['status'] == 'ongelezen') {
echo '<b><a href="contact.php?action=lezen&id='.$mail["id"].'">'.$mail["titel"].'</a></b>';
}
if($mail['status'] == 'gelezen') {
echo '<a href="contact.php?action=lezen&id='.$mail["id"].'">'.$mail["titel"].'</a>';
}
<?php
}
?>
<?php
include '../footer.php';
?>
<?php include '../functions.php'; include '../top.php'; ?> <div class="content"> <h1>Mail</h1> <p> <?php $qmail = mysql_query("SELECT * FROM mail ORDER BY sendtime DESC"); { if($mail['status'] == 'ongelezen') { echo '<b><a href="contact.php?action=lezen&id='.$mail["id"].'">'.$mail["titel"].'</a></b>'; } if($mail['status'] == 'gelezen') { echo '<a href="contact.php?action=lezen&id='.$mail["id"].'">'.$mail["titel"].'</a>'; } <?php } ?> <?php include '../footer.php'; ?>
maar als ik dit uitvoer krijg ik een lege pagina te zien...
|