Created
December 23, 2021 05:14
-
-
Save vicentematus/fee859e697716460d2f2d21c833188cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include_once("../../conexion_bd/conexion.php"); | |
$errores = ""; | |
if (isset($_POST["submit"])) { | |
$tema = $_POST["tema"]; | |
$descripcion = $_POST["reu_descripcion"]; | |
$reu_fecha = $_POST["reu_fecha"]; | |
$hora_inicio = $_POST["hora_inicio"]; | |
$hora_termino = $_POST['hora_termino']; | |
$estado = $_POST["estado"]; | |
$codigo_acta = $_POST["codigo_acta"]; | |
$query = "update acta set tema = '$tema' , fecha = '$reu_fecha' , hora_inicio = '$hora_inicio' , hora_termino = '$hora_termino' , estado = '$estado' , descripcion = '$descripcion' where codigo_acta = '$codigo_acta'"; | |
mysqli_query($conn, $query); | |
header("location:./exito-acta.php?codigo_acta=$codigo_acta"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment