survey_seahorse

Software Engineering Project - Fall 2018
Log | Files | Refs | README

commit 723132139254b6b91cdc0d85f012c8dd3bafe3c7
parent e8a6bdb3e89ae82f08b561128bba1074928abd69
Author: John Kubach <johnkubach@gmail.com>
Date:   Sat, 15 Dec 2018 16:06:34 -0500

fix typos in profile page

Diffstat:
Mwebsite/profile.php | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/website/profile.php b/website/profile.php @@ -9,7 +9,7 @@ $uid = $_SESSION['uid']; $date = $_SESSION['date']; $block = $_SESSION['blocked']; -$blockStatus; +$blockStatus = ""; if($block == 48) $blockStatus = "full access"; @@ -36,5 +36,5 @@ $sql = "SELECT title FROM survey WHERE survey_id IN (SELECT survey_id FROM answe <h2> Username: <?php echo $user; ?> </h2> <h2> Email: <?php echo $email; ?> </h2> <h2> UserID: <?php echo $uid; ?> </h2> - <h2> Todays Date: <?php echo $date; ?> </h2> - <h2> Blovked Status: <?php echo $block; ?> </h2> + <h2> User Registration Date: <?php echo $date; ?> </h2> + <h2> Blocked Status: <?php echo $block, ": ", $blockStatus; ?> </h2>