| Current Path : /var/www/html/venkat/repo2017sept/ |
| Current File : /var/www/html/venkat/repo2017sept/vdelete.php |
<?php
include ("vhmain.php");
?>
<center> <b> <u> Choose Your Option and Submit </b> </u> <br> <br></center>
<form method ="post" action = "vdeletesubmit.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 = "table">
<?php
$quer2="select * from delete_repo";
$sth = $link->prepare($quer2);
$sth->execute();
foreach ($sth->fetchAll() as $row) {
$category = $row['description'];
$table_name = $row['table_name'];
echo "<option value =$table_name>$category</option>";
}
?>
</select>
<br> <br> </td>
</tr>
<tr>
<td width = "30%"> Enter the Id available while viewing <br> <br> </td>
<td width = "10%"> : <br> <br></td>
<td width = "60%"> <input type = "number" name = "count">
<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>