X-Git-Url: https://git.rvb.name/weathermon.git/blobdiff_plain/42bd3e809b0fa95d3a463462e242caf40d98bf79..8535e6a1afa35ae008854c6f494470126da9cd7e:/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"; } -?>