Current Path : /var/www/clients/client35/web46/web/buen-fin/app/controller/ |
Current File : /var/www/clients/client35/web46/web/buen-fin/app/controller/ConsularAcreditaciones.back.php |
<?php require_once '../model/ConsultarAcreditaciones.class.php'; $a = new ConsularAcreditaciones(); switch ($_POST['action']){ case 'all': $r = $a->acreditaciones(); echo json_encode($r); break; case 'busqueda': $r = $a->busquedaAcreditaciones($_POST['str']); echo json_encode($r); //echo $r; break; } ?>