diff -r dc37f2b0a00b -r 9856238e9217 www/getfermentablesources.php --- a/www/getfermentablesources.php Mon Jul 05 20:59:10 2021 +0200 +++ b/www/getfermentablesources.php Sun Jul 11 15:55:44 2021 +0200 @@ -1,7 +1,7 @@ $row['record'], - 'name' => $row['name'], - 'type' => $row['type'], - 'yield' => $row['yield'], - 'color' => $row['color'], - 'add_after_boil' => $row['add_after_boil'], - 'origin' => $row['origin'], - 'supplier' => $row['supplier'], - 'coarse_fine_diff' => $row['coarse_fine_diff'], - 'moisture' => $row['moisture'], - 'diastatic_power' => $row['diastatic_power'], - 'protein' => $row['protein'], - 'dissolved_protein' => $row['dissolved_protein'], - 'max_in_batch' => $row['max_in_batch'], - 'recommend_mash' => $row['recommend_mash'], - 'graintype' => $row['graintype'], - 'di_ph' => $row['di_ph'], - 'acid_to_ph_57' => $row['acid_to_ph_57'], - 'inventory' => $row['inventory'], - 'cost' => $row['cost'] - ); + $fermentables[] = $row; } header("Content-type: application/json"); echo json_encode($fermentables, JSON_UNESCAPED_UNICODE);