<?php

	require_once 'dbconfig.php';
	
	if(isset($_GET['coid']))
	{

		$stmt_delete = $DB_con->prepare('DELETE FROM mobilecustomers WHERE coid =:coid');
		$stmt_delete->bindParam(':coid',$_GET['coid']);
		$stmt_delete->execute();
		
		echo"<script type='text/javascript'>window.location.href = 'customerlist.php';</script>";
		
	}

?>