Forum Moderators: coopster
I want the script to list the upcoming birthdays in the next 2 weeks, to do my initial idea was to write a query similar to 'SELECT * FROM bdays WHERE Bday_Date BETWEEN '$today' AND '$enddate', however because the because the years differ depending on each persons birthday I don't get a result on my query. Basically i need to search based on month/day not year/month/day which is what I have on the table. Any ideas on how to do this? Have tried using wildcards to replace the year but that doesnt help. Anyone got an idea?