-
Notifications
You must be signed in to change notification settings - Fork 0
/
telaConsultaBeneficiario.php
62 lines (52 loc) · 1.64 KB
/
telaConsultaBeneficiario.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<html lang="pt">
<?php
include("banco/banco.php");
$query = "Select nome,email,nascimento,cpf,rg from pessoa order by nome";
$rs = Select ($query);
$row = mysql_fetch_array($rs);
?>
<?php include("head.php"); ?>
<body>
<?php include("escolheCabecario.php"); ?>
<div class="container panel panel-default">
<div class="panel panel-default">
<!-- Default panel contents -->
<div class="panel-body">
<!-- <p> ... </p> -->
</div>
<!-- Table -->
<table class="table table-striped table-bordered table-condensed">
<caption>Consulta de Beneficiario</caption>
<thead>
<tr>
<th>Nome</th>
<th>Email</th>
<th>Cpf/Passaporte</th>
<th>RG</th>
</tr>
</thead>
<tbody>
<?php
echo '<tr>';
echo"<td>".$row['nome']."</td>" ;
echo"<td>".$row['email']."</td>" ;
echo"<td>".$row['cpf']."</td>" ;
echo"<td>".$row['rg']."</td>" ;
echo "</tr>";
while($row = mysql_fetch_array($rs)){
echo '<tr>';
echo"<td>".$row['nome']."</td>" ;
echo"<td>".$row['email']."</td>" ;
echo"<td>".$row['cpf']."</td>" ;
echo"<td>".$row['rg']."</td>" ;
echo "</tr>";
}
?>
</tbody>
</table>
</div>
</div>
<?php include("script.html"); ?>
<?php include("foot.html"); ?>
</body>
</html>