php - Query Database for a specific Month of birthdays -


i trying query against database have contacts have birthdays in date format such (1980-03-13) (year-month-date). query database birthdays within (03) month. how possible?

if shed light appreciated.

ps. using php queries mysql.

update: mysql table contacts has (dob field) format = (date).

select * table month(column) = 3 

if string

select * table     month(cast(column datetime)) = 3 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -