git-svn-id: http://www.observium.org/svn/observer/trunk@140 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2008-03-12 16:21:13 +00:00
parent 544180decc
commit 7b46376616
6 changed files with 26 additions and 11 deletions

View File

@@ -34,6 +34,6 @@ while ($service = mysql_fetch_array($query)) {
} else { unset($updated); }
$update_sql = "UPDATE `services` SET `service_status` = '$status', `service_message` = '" . addslashes($check) . "', `service_checked` = '" . time() . "' $updated WHERE `service_id` = '" . $service['service_id']. "'";
mysql_query($update_sql);
echo("$update_sql " . mysql_affected_rows() . " rows updated\n");
# echo("$update_sql " . mysql_affected_rows() . " rows updated\n");
}
?>