diff -r dc37f2b0a00b -r 9856238e9217 www/gethopsources.php --- a/www/gethopsources.php Mon Jul 05 20:59:10 2021 +0200 +++ b/www/gethopsources.php Sun Jul 11 15:55:44 2021 +0200 @@ -1,7 +1,7 @@ $row['record'], - 'name' => $row['name'], - 'alpha' => $row['alpha'], - 'beta' => $row['beta'], - 'humulene' => $row['humulene'], - 'caryophyllene' => $row['caryophyllene'], - 'cohumulone' => $row['cohumulone'], - 'myrcene' => $row['myrcene'], - 'hsi' => $row['hsi'], - 'total_oil' => $row['total_oil'], - 'type' => $row['type'], - 'form' => $row['form'], - 'origin' => $row['origin'], - 'inventory' => $row['inventory'], - 'cost' => $row['cost'] - ); + $hops[] = $row; } header("Content-type: application/json"); echo json_encode($hops);