0
<?php
$link = mysqli_connect("localhost", "root", "");
$query = mysqli_query($link, "certificados");
?>
<form name="produto" method="post" action="">
<label for="">Selecione um Nome de Autor</label>
<select>
<option>Selecione...</option>
<?php while($prod = mysqli_fetch_array($query)) { ?>
<option value="<?php echo $prod["aut_nome"] ?>"</option>
<?php } ?>
Because this code does not work does not appear database data to choose thank you!!!
You are giving command of "certificates", I believe it would be at least
"SELECT * FROM certificados"
, see http://www.w3schools.com/sql/sql_select.asp.– Inkeliz