Initial state
This commit is contained in:
14
action/action_profesor.php
Normal file
14
action/action_profesor.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
$ruta = "../";
|
||||
require_once("../include/bd_pdo.php");
|
||||
|
||||
extract($_GET);
|
||||
|
||||
$profesores = $db
|
||||
->where("facultad_id", $facultad ?? 0)
|
||||
->get("fs_profesor");
|
||||
|
||||
echo json_encode([
|
||||
"status" => "success",
|
||||
"profesores" => $profesores
|
||||
]);
|
||||
Reference in New Issue
Block a user