-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodificaradmin.php
More file actions
34 lines (25 loc) · 1.01 KB
/
modificaradmin.php
File metadata and controls
34 lines (25 loc) · 1.01 KB
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
<html>
<head>
<title>Modificar Administradores</title>
</head>
<body>
<center>
<?php
$id=$_REQUEST['id'];
include ("config.php");
$query="SELECT * FROM administradores WHERE id='$id'";
$resultado= $conexion->query($query);
$row=$resultado->fetch_assoc();
?>
<form action="modificaradminproceso.php?id=<?php echo $row['id']; ?>" method="POST"><br/><br/><br/>
<br/>
<input type="text" name="nombre" placeholder="Nombre Completo" value="<?php echo $row['nombre']; ?>" required><br/><br/>
<input type="text" name="usuario" placeholder="Usuario..." value="<?php echo $row['usuario']; ?>" required><br/><br/>
<input type="password" name="contrasena" placeholder="Contrasena..." value="<?php echo $row['contrasena']; ?>" required><br/><br/>
<input type="submit" value="Aceptar" />
</form>
</center>
<li><a href="index.php">Regresar</a></li>
<li><a href="administradores.php">¿Quiénes son Administradores?</a></li>
</body>
</html>