Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=30077
Postga havola
DjHuSo [843] [off]
Bosh sahifaga bugun tug'lgan kuni bo'lgan userlarni chiqaradi yoshi bilan!
$total = mysql_result(mysql_query("SELECT COUNT(*) FROM `users` WHERE `dayb` = '" . date('j', time()) . "' AND `monthb` = '" . date('n', time()) . "' AND `preg` = '1'"), 0); if ($total) { echo'<div class="menu">'; echo' <b>Tug`ilgan kuningiz bilan tabriklaymiz!</b><br>'; $req = mysql_query("SELECT * FROM `users` WHERE `dayb` = '" . date('j', time()) . "' AND `monthb` = '" . date('n', time()) . "' AND `preg` = '1' LIMIT $start, $kmess"); $yoshi = $hour - $res['yearofbirth']; echo ''.($i > 1 ? ', ' : '').' <a href="users/profile.php?user='.$res['id'].'">'.$res['name'].'</a> <span style="color: gray;">('.$yoshi.')</span>'; ++$i; } echo'</div> '; }
Bosh sahifaga bugun tug'lgan kuni bo'lgan userlarni chiqaradi yoshi bilan!