diff -r 7509f9ed5686 -r 57bc32b5f411 www/includes/db_setup.php --- a/www/includes/db_setup.php Wed Mar 04 20:04:50 2020 +0100 +++ b/www/includes/db_setup.php Thu Mar 05 16:34:03 2020 +0100 @@ -34,6 +34,7 @@ $sql .= "', brix_correction='" . $_POST['brix_correction']; $sql .= "', grain_absorbtion='" . $_POST['grain_absorbtion']; $sql .= "', default_water='" . $default_water; + $sql .= "', my_yeastlab='" . $_POST['my_yeastlab']; $sql .= "' WHERE record='1';"; //syslog(LOG_NOTICE, $sql); $result = mysqli_query($connect, $sql); @@ -65,6 +66,7 @@ $data .= ',"brix_correction":' . floatval($row['brix_correction']); $data .= ',"grain_absorbtion":' . floatval($row['grain_absorbtion']); $data .= ',"default_water":"' . str_replace($escapers, $replacements, $default_water); + $data .= '","my_yeastlab":"' . str_replace($escapers, $replacements, $row['my_yeastlab']); $data .= '"}'; } header("Content-type: application/json");