// Executando a consulta SQL $query = 'SELECT * FROM clients;'; $result = mysql_query($query) or die('A consulta falhou!: ' . mysql_error()); $options = ""; /* You can add order by clause to the sql statement if the names are to be displayed in alphabetical order */ echo "";// Closing of list box ?>