The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Displaying Birthdays this Month
Hi
I want to display members with birthdays this month, I have this script working, and it displays the Members names in order of dates.. What I want todo is add the date where the red text is.... what do I add ???? Any help would really be appreciated.. thanks in advanced Code:
$month = date("m"); $find = $db->query_read("SELECT userid,username,birthday FROM " . TABLE_PREFIX . "user WHERE birthday LIKE '$month-%'"); while ($user = $db->fetch_array($find)) { $userid = $user['userid']; $username = $user['username']; $birthday = $user['birthday']; $birthday = explode("-", $birthday); $birthmonth = $birthday[0]; if ($birthmonth = $month) { echo "<p align=\"center\"><font color=\"red\"><b>$username - date<br></b></font></p>"; } } |
#2
|
|||
|
|||
its finish??
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|