<html>
<head><link rel="stylesheet" type="text/css" href="../common/styles.css" />
</head>
<body>
<div class="topic">Initial Questions</div>
<form action="" method="post">
<table>
<tr>
<td><img src="../common/HelpIcon.gif" height="30" width="30" type="" name="Submit" id="deleteinitialquizhelp" onClick="handleSearchSuggest(this.id)" class="pointer"><div id="help" class="length" ></div>
</td></tr>
</table>
<table>
<?php
require("../common/database.php");
$result = mysql_query( "SELECT * FROM initial_quiz");
$i=0;
$trid="";
while($row=mysql_fetch_array($result)){
$i++;
$trid="trvalue".$i;
?>
<tr valign="top" id="<?php echo $trid ?>"><td><textarea class='textboxarea' id="<?php echo $row['Id']?>" style="border-style:none" cols="50"><?php echo $i.". ". $row['Question']?></textarea ></td><td><input type="button" class="button1"value="Delete >>" onClick="javascript:delete_question('<?php echo $row['Id']?>');"></td></tr>
<?php
}
?>
<tr></tr>
<tr></tr>
</table>
</table>
<table><tr><td ><input type="submit" value="Ok" class="button" name="add"></td><td></td></tr></table>
</form>
</body>
</html>