include('includes/menucode.html'); ?>
Student | Year | Fellowship | Advisor | $query = "select * from fellowships order by year desc"; $result = mysql_query($query); $num = mysql_numrows($result); for ($i = 0; $i < $num; $i++) { $name = mysql_result($result, $i, "name"); $year = mysql_result($result, $i, "year"); $type = mysql_result($result, $i, "type"); $advisor = mysql_result($result, $i, "advisor"); print "
$name | $year | $type | $advisor |