-
Notifications
You must be signed in to change notification settings - Fork 0
/
telaExcluirUsuario.php
42 lines (38 loc) · 1.82 KB
/
telaExcluirUsuario.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
<!DOCTYPE html>
<html lang="pt">
<?php
include("banco/banco.php");
$query = "Select * from usuario";
$rs = Select ($query);
$row = mysql_fetch_array($rs);
?>
<?php include("head.php"); ?>
<body>
<?php include("escolheCabecario.php");?>
<div class="container panel panel-default">
</br></br>
<form action = "fachadaExcluirUsuario.php" method="POST">
<div class="panel panel-default jumbotron">
<div id="vpav"></div>
<h3>Cadastro Usuario</h3>
<div class="input-group">
<span class="input-group-addon" id="sizing-addon2">Selecione o usuario</span>
<select name="idUsuario">
<option value="">--- Selecione ---</option>
<?php
echo "<option value=".$row['idUsuario'].">".$row['nomeUsuario']."</option>" ;
while($row = mysql_fetch_array($rs)){
echo "<option value=".$row['idUsuario'].">".$row['nomeUsuario']."</option>" ;
} ?>
</select>
</div>
<div>
<input type="submit" id = "bm" class="btn btn-default topElementos" value="Excluir" />
</div>
</div>
</form>
</div>
<?php include("script.html"); ?>
<?php include("foot.html"); ?>
</body>
</html>