Your IP : 216.73.216.40


Current Path : /var/www/html/venkat/electiveaug22/
Upload File :
Current File : /var/www/html/venkat/electiveaug22/upload1.php

<?php
include("upload.php");


$no = addslashes($_POST['1']);
$discipline = addslashes($_POST['discipline']);
$basket = addslashes($_POST['basket']);

if ($discipline=='#') {
	header("location:facmain.php");
}
?>


<table width="600" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<form name="form1" enctype="multipart/form-data" method="post" action="store.php">
<td>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td colspan="3"><strong>Submit the Electives</strong></td>
</tr>

<?php

for ( $i = 2; $i <= $no+1; $i++) 
{
?>
	<tr>
	<td width="100">Elective Name <?php echo($i-1); ?></td>
	<td width="16">:</td>
	<td width="100">
	<input name="<?php echo($i.'e'); ?>" type="text"  id="file" ><br>
	</tr>

	<tr>
	<td width="100">No. of Seats</td>
	<td width="16">:</td>
	<td width="100">
	<input name="<?php echo($i.'s'); ?>" type="text"  id="file2" ><br>
	</tr>


	<tr>
	<td width="100">Name of the Faculty</td>
	<td width="16">:</td>
	<td width="100">
	<input name="<?php echo($i.'f'); ?>" type="text"  id="file3" ><br>
	</tr>



	<tr>
	<td width="100">Upload Syllabus</td>
	<td width="16">:</td>
	<td width="1
	<input type="hidden" name="MAX_FILE_SIZE" value="20512000" />
	<input name="<?php echo($i.'sy'); ?>" type="file"  id="file1" ><br>
	
	</tr>
<tr>
<td>
    
</td>
</tr>	

	<?php
}
?>

<tr>
<input type="hidden" name="basket" value=<?php echo($basket); ?>></td>
<input type="hidden" name="1" value=<?php echo($no); ?></td>
<input type="hidden" name="discipline" value=<?php echo($discipline);?>></td>
<td width="25"><input type="submit" value="Submit " /></td>
</tr>
</form>

</table>
</td>

</tr>
</table>