<?php require_once "../lib/conectar.php"; require_once "../lib/funciones.php"; $id = $_POST['id']; $correo = $_POST['correo']; $nombre = $_POST['nombre']; $apPat = $_POST['apellidoP']; $apMat = $_POST['apellidoM']; $celular = $_POST['celular']; $rango_id = $_POST['rango_id']; editaUsuario($id, $correo, $nombre, $apPat, $apMat, $celular, $rango_id); header("Location: ../usuarios.php");
<?php require_once "../lib/conectar.php"; require_once "../lib/funciones.php"; $nombre = $_POST['nombre']; $resumen = $_POST['resumen']; $descripcion = $_POST['descripcion']; $id = $_POST['id']; editaUsuario($nombre, $resumen, $descripcion, $id); header("Location: ../usuarios.php");
<?php require_once "../lib/conectar.php"; require_once "../lib/funciones.php"; $nombre = $_POST['nombre']; $apellido = $_POST['apellido']; $correo = $_POST['correo']; $pass = $_POST['pass']; $id = $_POST['id']; editaUsuario($nombre, $apellido, $correo, $pass, $id); header("Location: ../usuarios.php");