read_aliments.php 174 Bytes
Newer Older
Raulin's avatar
Raulin committed
1
<?php
Raulin's avatar
Raulin committed
2
require_once("template.php");
Raulin's avatar
Raulin committed
3

Raulin's avatar
Raulin committed
4
$requete="SELECT * FROM aliments";
Raulin's avatar
Raulin committed
5 6 7
$result = $mysqli->query($requete);
$aliments=$result->fetch_all();

Raulin's avatar
Raulin committed
8 9 10 11 12 13 14
reponse_json($aliments);






Raulin's avatar
Raulin committed
15 16