Jump to content

albuquerque.paulo1992

Members
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

0 Comum

About albuquerque.paulo1992

  1. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label><i class="fas fa-university"></i> Unidade</label require> <select type="text" name="unidade" class="form-control" id="unidade" onclick="formatar()"> <option selected disabled>Escolha Unidade</option required> <?php include_once("conexao.php"); $consult = "SELECT * FROM tb_unidades WHERE cnes ORDER BY nome_da_unidade"; $consulta = mysqli_query($conn, $consult); while ($row_cat_post = mysqli_fetch_assoc($consulta)) { echo '<option value="' . $row_cat_post['nome_da_unidade'] . '"> ' . $row_cat_post['nome_da_unidade'] . '</option>'; } ?> </select> </div> </div> <div class="col-md-6"> <div class="form-group"> <label><i class="fas fa-fingerprint"></i> CNES</label> <input type="text" name="cnes" class="form-control" id="cnes" placeholder="Cadastro Nacional de Estabelecimentos de Saúde"> </div> </div> </div> </body> </html>
×

Important Information

Ao usar o fórum, você concorda com nossos Terms of Use.