This commit is contained in:
IDEZ Ugo
2022-02-11 16:01:16 +01:00
parent d1ea47881e
commit 4ffb4f5de8
25 changed files with 766 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<?php
/**************************************************************************
* getProduit.php : Recherche les produits *
* pour alimenter la liste deroulante zlProduit *
***************************************************************************/
header("Content-type:application/json");
include_once 'chargementClasses.php';
//Recupération des prodtuis
$buchSQL = new BucheronSQL();
$lesBucherons = $buchSQL->readAllBucheron();
//Mise en format JSON
echo(json_encode($lesBucherons));
?>