PHP: calculating birthday from age

^rob^

New Member
Yes, this may sound strange.In the advanced profile searching form, where you can filter by age.Now you would type 18 or some other age in the field.I am storing the birthdays, in the mysql db, in the birthday field in users i have example: 1990-02-02How can i filter by age then, in a query?Should i first make a query before, make all users birthdays to age, and then compare them? Would be too much, to take each one user.
 
Back
Top