
<?php include "students_02_info.php" ; ?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<title>Untitled Document</title>

<link href="style.css" rel="stylesheet" type="text/css" />


</head>

<body>
<div id="frame">

<?php 

$randomquiz=rand(0,9);
echo "<div id=\"students\"> <img src=\"$studentphotos[$randomquiz]\" width=\"50px\"><br></div>" ;
?>
What is the student's name?<Br />
<form method="post" action="students_02_form_answer.php">
<input type="text" name="answeredname" />
<input type="hidden" name="questionnumber" value="<?php echo $randomquiz; ?>" />
<input type="hidden" name="answertomatch" value="<?php echo $studentnames[$randomquiz]; ?>" />
<input type="submit" name="submit" value="submit" />

</form>




</div>
</body>
</html>