survey_seahorse

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

commit 375ded34b682c592ab287d312507981d4510d09d
parent ab5f7890df2e492d0a03a321f71d272ae1252dc5
Author: John Kubach <johnkubach@gmail.com>
Date:   Wed, 19 Dec 2018 19:42:51 -0500

profile page update

change they way recently taken surveys are displayed

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

diff --git a/website/profile.php b/website/profile.php @@ -35,9 +35,9 @@ echo "<h2> Blocked Status: ' $blockStatus' </h2>"; $sql = "SELECT title FROM survey WHERE survey_id IN (SELECT survey_id FROM answer_numeric WHERE user_id=$uid) ORDER BY RAND() LIMIT 3;"; $result = mysqli_query($connect, $sql); -echo "Recent surveys that ", $user, " has taken: "; +echo "Recent surveys that ", $user, " has taken: <br>"; while ($surveys_taken = mysqli_fetch_assoc($result)) { - echo $surveys_taken['title'], " "; + echo $surveys_taken['title'], "<br>"; } echo "<br> <br>";