"age" isn't a value stored in the database, it is calculated based off "birthday" which is stored in the database, and the current date... I'm pretty sure you will need to do the calculation in php based on the 'birthday' field as opposed to 'age'
Note- I'm guessing here, it's a theory that fits the facts (fact 'age' is not in the db) but I don't know for sure this is the only way to do it.
|