Hello, I'm totaly new to PHP and was wondering if i could get some help ( i have read the w3schools page)I was wanting to know:When a person who was logged in has 1 unread mailed how to display textI do use Mysql tables, and i believe it has somthing to do with this:
<? $lijstGebruikers = "SELECT * FROM inbox WHERE reciever='$cookieusername' AND unread='0'"; $resultLijstGebruikers = mysql_query($lijstGebruikers); $messag = mysql_num_rows($resultLijstGebruikers); ?> <tr><td class="menuItem">- <a class="menuItem" href="inbox.php">Inbox<? if ($messag > 0) { echo " [$messag new]"; } ?></a></td></tr>
Thanks in advance-Jny