Location: PHPKode > projects > Decider > decider/Initial_Quiz/addeditinitialquiz.php
<html>
<head><link rel="stylesheet" type="text/css" href="../common/styles.css" />

</head>

<body>
<div class="topic">Add Key Person Question</div>

<form action="initialquiztab.php" method="post">
<table>
<tr><td><img src="../common/HelpIcon.gif" height="30" width="30" type="" name="Submit"  id="addinitialquizhelp" 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;
			 while($row=mysql_fetch_array($result)){
					$i++;
			 	?>
				<tr valign="top"><td class="label"><?php echo $i.". "?></td><td><textarea class='textboxarea'id="<?php echo $row['Id']?>" style="border-style:none" cols="40"><?php echo $row['Question']?></textarea ></td><td valign="middle"><input type="button" class="button1" value="edit >>" onClick="javascript:edit_question('<?php echo $row['Id']?>');"></td></tr>
				
			<?php
				
			 }
			 
			?>
	
			</table>
			<br><br>
			<div class="topic">Add New Questions</div>
			<table>
			<tr></tr>
			<tr><td class="label">No of questions </td><td>  <select  name="no_of_kp" id="no_of_kp" class="select"onChange="javascript:textboxes_load(this.value);">
			<option selected value=0 >-select-</option>
        		<option value=1 >1</option>
        		<option  value=2 >2</option>
        		<option value=3 >3</option>
        		<option value=4 >4</option>
        		<option value=5 >5</option>
        		<option value=6 >6</option>
        		<option value=7 >7</option>
        		<option value=8 >8</option>
        		<option value=9 >9</option>
        		<option value=10 >10</option>
        		<option value=11 >11</option>
        		<option value=12 >12</option>
        		<option value=13 >13</option>
        		<option value=14 >14</option>
        		<option value=15 >15</option>
        		<option value=16 >16</option>
        		<option value=17 >17</option>
        		<option value=18 >18</option>
        		<option value=19 >19</option>
        		<option value=20 >20</option>
        		<option value=21 >21</option>
        		<option value=22 >22</option>
        		<option value=23 >23</option>
        		<option value=24 >24</option>
        		<option value=25 >25</option>
           	</select>
</td></tr><br><br>
<tr><td></td><td>
	<input type="hidden" id="number_of_question" name="number_of_question" value="" / >
	</td></tr>
</table>

<table id="ini_quiz"><tr>
<td ><input type="submit" value="Ok" class="button" name="add" ></td></tr>
</table> 


</form>

</body>

</html>
Return current item: Decider