X-Git-Url: https://git.rvb.name/weathermon.git/blobdiff_plain/e7a2d1b901dbeb947e0ad605a53badc845e23ebc..bc7cbb4617f28ec33b6ff0e81e7d48a5b00310a6:/web/send.php?ds=sidebyside 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"; } -?>