Wed, 19 Aug 2020 17:13:24 +0200
Fixed st_category_namber to be an integer value instead of float. The calc_acid in a new recipe is integer. Added missing wg_ and wb_ fields in a new recipe.
<?php require_once('config.php'); if (isset($_GET["uuid"])) $uuid = $_GET["uuid"]; else $uuid = "'c0ffeeee-cafe-dead-bee0-2af236d50dc9'"; $mysqli = new mysqli(DBASE_HOST,DBASE_USER,DBASE_PASS,DBASE_NAME); $query = "SELECT * FROM mon_ispindels WHERE uuid=".$uuid.""; $result = $mysqli->query($query); $resultArray = $result->fetch_array(MYSQLI_ASSOC); header("Content-type: application/json"); echo json_encode($resultArray);