<?php
require_once("template.php");
$requete="SELECT * FROM aliments";
$result = $mysqli->query($requete); $aliments=$result->fetch_all();
reponse_json($aliments);