www/export_fermentables.php

changeset 787
9f8ede1b2090
parent 786
c2cf34d3184a
equal deleted inserted replaced
786:c2cf34d3184a 787:9f8ede1b2090
11 echo "error"; 11 echo "error";
12 return 1; 12 return 1;
13 } 13 }
14 14
15 $result = mysqli_query($link, "SELECT * FROM inventory_fermentables ORDER BY supplier,name"); 15 $result = mysqli_query($link, "SELECT * FROM inventory_fermentables ORDER BY supplier,name");
16 $row = mysqli_fetch_array($result);
17 16
18 17
19 $fermentabletype = array( 'Grain', 'Sugar', 'Extract', 'Dry extract', 'Adjunct' ); 18 $fermentabletype = array( 'Grain', 'Sugar', 'Extract', 'Dry extract', 'Adjunct' );
20 $graintype = array( 'Base', 'Roast', 'Crystal', 'Kilned', 'Sour malt', 'Special', 'No malt' ); 19 $graintype = array( 'Base', 'Roast', 'Crystal', 'Kilned', 'Sour malt', 'Special', 'No malt' );
21 $addedtype = array( 'Mash', 'Boil', 'Fermentation', 'Lagering', 'Bottle', 'Kegs' ); 20 $addedtype = array( 'Mash', 'Boil', 'Fermentation', 'Lagering', 'Bottle', 'Kegs' );

mercurial