Well, if I understand the question, I woudl do something like this:
$sql = "SELECT * FROM `birthdays` WHERE `birthday` BETWEEN DATE_SUB(NOW(), INTERVAL {$_POST['end_age']} YEAR) AND DATE_SUB(NOW(), INTERVAL {$_POST['start_age']} YEAR) ";
That should at least point you in the right direction.