session_start(); if ($_SESSION['approved'] != "yes") { header ("Location: home.php"); } $enteredusername = $_SESSION['username']; $total = "3"; $file_type = "_th_students_scores.gif"; $image_folder = "images/"; $start = "1"; $random = mt_rand($start, $total); $image_name = $random .$file_type; ?>
