Esempio n. 1
0
			<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>";
    $i = 1;
    while ($row = mysqli_fetch_array($students)) {
        echo "<tr>";
        echo "<td>" . $i++ . "</td>";
        echo "<td>" . $row[0] . "</td>";
        echo "<td>" . $row[1] . "</td>";
        echo "<td>" . $row[3] . "</td>";