commit 06c927d0fa8724afc3b22f46e55f5607ff5c0ff7
parent 04239e406be418888527bb8ce7938b7c4120c49e
Author: John Kubach <johnkubach@gmail.com>
Date: Mon, 17 Dec 2018 22:53:22 -0500
change number of surveys shown
decrease number of surveys shown per page from 5 to 3
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/website/directory.php b/website/directory.php
@@ -12,7 +12,7 @@ $sql = "SELECT COUNT(*) FROM survey;";
$result = mysqli_query($connect, $sql);
$r = mysqli_fetch_row($result);
$number_rows = $r[0];
-$rows_page = 5;
+$rows_page = 3;
$total_pages = ceil($number_rows / $rows_page);
if (isset($_GET['page']) && is_numeric($_GET['page'])) {