mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	git-svn-id: http://www.observium.org/svn/observer/trunk@891 61d68cd4-352d-0410-923a-c4978735b2b8
		
			
				
	
	
		
			16 lines
		
	
	
		
			316 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			316 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
|   $updated = '1';
 | |
| 
 | |
|   $sql = "DELETE FROM `services` WHERE service_id = '" . mres($_POST['service']). "'";
 | |
| 
 | |
|   $query = mysql_query($sql);
 | |
|   $rows = mysql_affected_rows();
 | |
|   $affected = $rows . " records affected";
 | |
| 
 | |
|   $message .= $message_break . $rows .  " service deleted!";
 | |
|   $message_break .= "<br />"
 | |
| 
 | |
| 
 | |
| ?>
 |