Files
Roosters/pages/bericht_header.php
T
2026-06-17 11:55:21 +02:00

41 lines
968 B
PHP

<?php
require('../php/connect.php');
session_start();
if ($_SESSION['login']>1) {
$query = "SELECT DISTINCT (`name`) FROM `pass_forgot` WHERE LENGTH(`mail`)>0";
$result_array = mysql_query($query, $connection);
?>
<form>
<table cellpadding='0' cellspacing='5' width='600px'>
<tr><td width='200px' align='center'></td><td width='200px' align='center'><br>Gebruiker</td><td width='200px' align='center'></td></tr>
<tr>
<td align='center'>
</td>
<!-- LEERLING -->
<td align='center'> <select id='bericht' multiple size='5' name='bericht' onchange="getRooster(this.form, this.id, this.value); ">
<?php while($result = mysql_fetch_assoc($result_array)) { ?>
<option> <?php echo $result['name']; ?> </option>
<?php } ?>
</select>
</td>
<td align='center'>
</td>
</tr>
</table>
</form>
<?php } else { echo false; } ?>