"5") { include("includes/del-srv.inc"); } } $query = mysql_query("SELECT * FROM `services` AS S, `devices` AS D WHERE S.service_host = D.device_id ORDER BY hostname"); while($device = mysql_fetch_array($query)) { $servicesform .= ""; } if($updated) { print_message("Service Deleted!"); } echo("

Delete Service

Device
"); } ?>