From 546a462a5b7bb32e2f4f7787cc84b2c4f60d1de3 Mon Sep 17 00:00:00 2001 From: Ben Rothman Date: Thu, 1 May 2014 00:10:54 -0700 Subject: [PATCH] add fellowsTable --- ajax/PointsCenter.php | 2 +- fellowsTable.php | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 fellowsTable.php 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(); +?> + + + + + + + + + + + + + + + + + + + + + +
NamePositionDepartmentPhoto
.jpg" width="100px" />
+ + \ No newline at end of file