oppure:
codice:
SELECT * FROM tabella
WHERE FROM_UNIXTIME(datanascita,'%Y') = YEAR(CURDATE()) - $age