Your IP : 216.73.216.40


Current Path : /var/www/html/venkat/repo2017sept/admin/
Upload File :
Current File : /var/www/html/venkat/repo2017sept/admin/vpreviouspub.php

<?php
	include ("vhmain.php");
		
?> 
<center> <b> <u> Choose Your Option and Submit </b> </u>  <br> <br></center>
	<form method ="post" action = "vpub.php">
	<table width="60%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
		<tr>
			<td width = "30%"> Type of Publications <br> <br> </td>
			<td width = "10%"> : <br> <br></td>
			<td width = "60%"> 
			<select name = "type">
<?php

			$quer2="select type from publication group by type";
	                $sth = $link->prepare($quer2);
	                $sth->execute();
			foreach ($sth->fetchAll() as $row)  {
				$type = $row['type'];
	                        echo "<option value =$type>$type</option>"; 
			}
?>
			</select> 
			<br> <br> </td>
		</tr>
		<tr>
			<td width = "30%"> Choose the Department <br> <br> </td>
			<td width = "10%"> : <br> <br></td>
			<td width = "60%"> 
			<select name = "dept">
<?php

		$quer2="select dept from faculty group by dept";
                $sth = $link->prepare($quer2);
                $sth->execute();
		foreach ($sth->fetchAll() as $row)  {
			$dept = $row['dept'];
                        echo "<option value =$dept>$dept</option>"; 
		}
?>
			</select> 
			<br> <br> </td>
		</tr>

		<tr>
			<td width = "30%">  </td>
			<td width = "10%">  </td>
			<td width = "60%" > <div align="right"> <input type = "submit" value = "Submit"> </div> </td>
			
		</tr>
	</table>
	</form>