42 lines
1009 B
PHP
42 lines
1009 B
PHP
<?php
|
|
require('../php/connect.php');
|
|
|
|
session_start();
|
|
if ($_SESSION['login']>1) {
|
|
|
|
$query_leerling = "SELECT DISTINCT (`adminnr`) FROM `adminnr_naam`";
|
|
$result_array_leerling = mysql_query($query_leerling, $connection);
|
|
|
|
?>
|
|
|
|
<form>
|
|
|
|
<table cellpadding='0' cellspacing='5' width='600px'>
|
|
|
|
<tr><td width='200px' align='center'></td><td width='200px' align='center'><br>Leerling</td><td width='200px' align='center'></td></tr>
|
|
|
|
<tr>
|
|
|
|
<td align='center'>
|
|
</td>
|
|
|
|
<!-- LEERLING -->
|
|
<td align='center'> <select id='leerling' multiple size='5' name='leerling' onchange="getRooster(this.form, this.id, this.value); ">
|
|
<?php while($result_leerling = mysql_fetch_assoc($result_array_leerling)) { ?>
|
|
|
|
<option> <?php echo $result_leerling['adminnr']; ?> </option>
|
|
|
|
<?php } ?>
|
|
</select>
|
|
</td>
|
|
|
|
|
|
|
|
<td align='center'>
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
</form>
|
|
<?php } else { echo false; } ?>
|