Implement user searching

This commit is contained in:
2020-06-17 05:34:36 +02:00
parent e77f29b393
commit 67417b0bfc
5 changed files with 53 additions and 7 deletions

View File

@@ -11,8 +11,9 @@
include '../database.php';
$pdo = connectDatabase();
$data = findUser($pdo, $_GET["edit"]);
?> <form method="post" action="../user_management.php">
$data = fetchUserData($pdo, $_GET["edit"]);
?>
<form method="post" action="../user_management.php">
<div class="input-group">
<label>Nombre</label>
<input type="text" name="nombre" value="<?php echo $data[1]; ?>">