<html>
<body>
<?php
$dbhost="localhost";
$dblogin="root";
$dbpassword="";
$dbname="intranet";
mysql_connect($dbhost,$dblogin,$dbpassword);mysql_selectdb($dbname);
?>
<select name="toto">
<? $requete="select nom from utilisateurs ORDER BY nom";
$reponse = mysql_query($requete);
while ($row = mysql_fetch_array($reponse)) { ?>
<option value="<? echo $row["nom"]; ?>"><? echo $row["nom"]; ?></option>
<? } ?>
</select>
<?
mysql_close();
?>