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.

Re: mysql query Question

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.

Re: mysql query Question

thanx, just knowing where to start will help alot...


PS man i love this site.