} switch ($task) { case "insertar": if (isset($_REQUEST["numeroDeAula"])) { $numeroDeAula = $_REQUEST["numeroDeAula"]; } $aulaBLL->insert($numeroDeAula); break; case "actualizar": if (isset($_REQUEST["numeroDeAula"])) { $numeroDeAula = $_REQUEST["numeroDeAula"]; } if (isset($_REQUEST["id"])) { $id = $_REQUEST["id"]; } $aulaBLL->update($id, $numeroDeAula); break; case "eliminar": if (isset($_REQUEST["id"])) { $id = $_REQUEST["id"]; } $aulaBLL->delete($id); break; } ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Aulas</title> <link href="css/styles.css" rel="stylesheet" type="text/css"/>
} switch ($task) { case "insertar": if (isset($_REQUEST["nombres"])) { $nombres = $_REQUEST["nombres"]; } $aulaBLL->insert($nombres); break; case "actualizar": if (isset($_REQUEST["nombres"])) { $nombres = $_REQUEST["nombres"]; } if (isset($_REQUEST["id"])) { $id = $_REQUEST["id"]; } $aulaBLL->update($nombres, $id); break; case "eliminar": if (isset($_REQUEST["id"])) { $id = $_REQUEST["id"]; } $aulaBLL->delete($id); break; } ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head>