![]() |
Show today birthdays on a non-vb page
Hi comunity!
I would like to show TODAY BIRTHDAY's on a non-vb page. What I dont know how to do is to compare with SQL statment today date DATE(now), with users.birthday_search and find thos users whose celebrate their birthday. Any help? Thanks in advance. |
[sql]SELECT username, userid
FROM user WHERE birthday_search LIKE date_format( now( ) , '%%-%m-%d' ) [/sql] But you might also want to take a look at table datastore, row title=birthdaycache. |
Thanks a lot KirbyDE,
It works!! Here is the script for anyone that wants to use it!! PHP Code:
"Dad gratis lo que gratis recibisteis" (Jes?s) |
You are only selecting username and userid, but you also try to process birthday ...
|
Corrected and modified above message with correct code!
Thanks Now I would like to limit birthday show to those users who belongs to a special category created by me on the system. any idea? |
All times are GMT. The time now is 12:28 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|