$sql = "select * from `words` where `name` = '" . $value . "'";
$res = mysql_query($sql);

I have some cde before this however I would like to know how do I echo the database results. I have 2 field in my database one is name and the other is age. How do I echo out the age.