Jason,
- create a form that has the questions and supplied answers in this fasion
<form method=post action=test.php>
<ol>
<li><select name=question1>
<option value=....> </option>
<option value=....> </option>
</select><b>Sample question goes here</b><br>
create as many select statements as there are questions... and then close the form...
- Create test.php - script that will store this stuff in a database....
<?
//connect to mysql
$conn=mysql_connect("host", "user", "password") or die("couldn't connect");
//select your database
$db=mysql_select_db("mydatabase", $conn) or die("couldn't select database");
//initialize query string... know the name of your table
$sql="insert into $table values (\"$question1\", .....)";
//Then you execute the query
$result=mysql_query($sql, $conn) or die("couldn't query");
//Then close connection to avoid sleeping processes on your server
mysql_close($conn);
?>
That's it.. Using similar concepts you can grade the test as well.
Di