You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<?php
|
|
|
|
class Controller{
|
|
|
|
function __construct($url){
|
|
switch($url[0]){
|
|
case "SELECT":
|
|
switch($url[1]){
|
|
case "Inscrit":
|
|
$res=MdlInscrit::selectAll();
|
|
print(json_encode($res));
|
|
break;
|
|
}
|
|
break;
|
|
default:
|
|
echo "ERREUR";
|
|
}
|
|
}
|
|
}
|
|
|
|
?>
|