diff --git a/ajax/PointsCenter.php b/ajax/PointsCenter.php index 929a9ce..62fb43f 100644 --- a/ajax/PointsCenter.php +++ b/ajax/PointsCenter.php @@ -146,7 +146,7 @@ public function getFellows () $fellows = array(); try { $statement = self::$dbConn->prepare( - "SELECT full_name,photo + "SELECT full_name,position,department,photo FROM fellows WHERE qtr_final IS NULL"); $statement->execute(); diff --git a/fellowsTable.php b/fellowsTable.php new file mode 100644 index 0000000..41f424b --- /dev/null +++ b/fellowsTable.php @@ -0,0 +1,34 @@ +getFellows(); +?> + +
+Name | +Position | +Department | +Photo | +
---|---|---|---|
= $fellows[$ii]["full_name"] ?> | += $fellows[$ii]["position"] ?> | += $fellows[$ii]["department"] ?> | +.jpg" width="100px" /> | +