Re: mysql php - help needed
Presumably you want to identify a birthday and thus you will only want the part of the date of birth that excludes the year part and compare it against the current date without the current year added.
If so, then activeco's SQL won't help you.
For a more specific answer, let us know the format of the date_of_birth field in your MySQL database.
|