Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (isset($_POST['nomepaciente']) ) {
- $paciente = Paciente::instance();
- $res = $paciente->getPacienteNome($_POST['nomepaciente'],$_POST['nmaepaciente']);
- echo "<br><br><h3>Resultado das Busca</h3><br><br>";
- echo "<table class= ls-table ls-table-striped>";
- $array = array($res);
- foreach ($array as $item) {
- echo "<tr>" . "Lista de Pacientes" . "</tr>";
- echo "<tr>";
- echo "<td><b class=ls-label-text>PACIENTE: </b>" . $item['nomepaciente'] . "</td>";
- echo "<td><b class=ls-label-text>NOME DA MÃE: </b>" . $item['nmaepaciente'] . "</td>";
- echo "<td><b class=ls-label-text>RUA: </b>" . $item['rua'] . "</td>";
- echo "<td>" . "<a href=edit_paciente2.php?prontuario=" . $item['prontuario'] . "><img src=images/editar.gif></a>" . "</td>";
- echo "<td>" . "<a href=imprimir_2.php?prontuario=" . $item['prontuario'] . "><img src=images/imprimir.gif></a>" . "</td>";
- echo "</tr>";
- }
- echo "</table>";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement