Topic: mysql query Question
okim tryin to birthday info out of my SQL for this month, in the feild 'birthday' i have there entire birthday like this M-DD-YYYY.
how would i go about pullin all the users with the birthday that begins with this month.
You are not logged in. Please login or register.
PunBB Forums → Programming → mysql query Question
okim tryin to birthday info out of my SQL for this month, in the feild 'birthday' i have there entire birthday like this M-DD-YYYY.
how would i go about pullin all the users with the birthday that begins with this month.
Something like this might work:
SELECT * FROM list WHERE MONTH(birthday) = MONTH(NOW())
Look att the chapter "Date and Time Functions" in the MySQL Manual for more information.
thanx, just knowing where to start will help alot...
PS man i love this site.
PunBB Forums → Programming → mysql query Question
Powered by PunBB, supported by Informer Technologies, Inc.