This commit is contained in:
2023-08-08 17:04:21 +00:00
parent 31ecda89b2
commit ec382e989a
147 changed files with 18206 additions and 18063 deletions

View File

@@ -1,11 +1,11 @@
<?php
$ruta = "../";
require_once "../include/bd_pdo.php";
global $pdo;
print_r($_POST);
$sql = "INSERT INTO rol (rol_titulo) VALUES (:nombre)";
$params = [':nombre' => mb_strtoupper($_POST['mtitulo'])];
$hecho = query($sql, $params, true);
header("Location: ../roles.php");
exit();
<?php
$ruta = "../";
require_once "../include/bd_pdo.php";
global $pdo;
print_r($_POST);
$sql = "INSERT INTO rol (rol_titulo) VALUES (:nombre)";
$params = [':nombre' => mb_strtoupper($_POST['mtitulo'])];
$hecho = query($sql, $params, true);
header("Location: ../roles.php");
exit();
?>