Php online quiz script is needed with mysql

can any one give any idea about php online quiz script with mysql database.

should get you started.

when i add a question dynamically in mysql and i fetch the question in my view page using php.it fetching 10 to 20 questions what ever in database.

my layout is:

<?php
$sql=mysql_query(“select * from questions”);
while($data=mysql_fetch_array($sql))
{
?>
<table width=“100%” border=“1”>
<tr>
<td width=“3%”> </td>
<td colspan=“4”><?php echo $data[‘question’];?></td>
</tr>
<tr>
<td> </td>
<td width=“9%”><label>
<input type=“radio” name=“radio” id=“radio” value=“radio”>
<?php echo $data[‘option1’];?></label></td>
<td width=“14%”><input type=“radio” name=“radio” id=“radio2” value=“radio”>
<?php echo $data[‘option2’];?></td>
<td width=“14%”><input type=“radio” name=“radio” id=“radio3” value=“radio”>
<?php echo $data[‘option3’];?></td>
<td width=“60%”><input type=“radio” name=“radio” id=“radio4” value=“radio”>
<?php echo $data[‘option4’];?></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td colspan=“4”><label>
<input type=“submit” name=“button” id=“button” value=“Submit”>
</label></td>
</tr>
</table>
<?
}

?>

The problem is when i click submit button how i post these dynamically generated radio button value into my database table

Please help me…