X-Git-Url: https://git.rvb.name/weathermon.git/blobdiff_plain/e7a2d1b901dbeb947e0ad605a53badc845e23ebc..888e7fac57439dbb42864d77122a4cf551889477:/web/send.php?ds=inline diff --git a/web/send.php b/web/send.php index 7a69838..60d21db 100644 --- a/web/send.php +++ b/web/send.php @@ -21,22 +21,11 @@ } $str = "CALL meteo.submit_value('".$stype."','".$sid."','".$param."',".$value.",NULL)"; - if (!$connection->query($str)) { - header('HTTP/1.1 500 Internal Server Error'); - exit; - } else { - $connection->commit(); -?> - - - - Meteo logger - - -OK Logged - - -query($str)) { + header('HTTP/1.1 500 Internal Server Error'); + exit; + } else { + $connection->commit(); + echo "OK Logged"; } -?>