Esempio n. 1
0
			<select name='type' class="dropdown">
				<?php 
while ($row = mysqli_fetch_array($msg)) {
    echo "<option value=" . $row[0] . " selected >" . $row[1] . "</option>";
}
?>
			</select>
			<input type="submit" name="login" value="Submit" align="left" class="buttonpag" />
		</form> 
	
		<br></br>
	
		<?php 
if (!empty($_POST['login'])) {
    echo "<div class='job-view' >";
    $result = $control->jobname($_POST['type']);
    while ($row = mysqli_fetch_array($result)) {
        echo "<div align= 'center'>";
        echo "<font size='6'>Post:- {$row['1']}</font>";
        echo "</div>";
    }
    echo "<br></br>";
    $students = $control->jobintrestedstudent($_POST['type']);
    echo "<table width = '115%' align='center'>";
    echo "<tr>";
    echo "<td>Serial No.</td>";
    echo "<td>Name</td>";
    echo "<td>Username</td>";
    echo "<td>College</td>";
    echo "<td>Percentage</td>";
    echo "</tr>";