
<?php 
		$airtelvtu = $_POST['airtelvtu'];
		$mtnvtu = $_POST['mtnvtu'];
		$glovtu = $_POST['glovtu'];
		$etisalatvtu = $_POST['etisalatvtu'];
        $mtnawuf = $_POST['mtnawuf'];
				
		$airtelshare = $_POST['airtelshare'];
        $mtnshare = $_POST['mtnshare'];
		$gloshare = $_POST['gloshare'];
		$etisalatshare = $_POST['etisalatshare'];		

		$dstv = $_POST['dstv'];
		$gotv = $_POST['gotv'];
		$startimes = $_POST['startimes'];
		$showmax = $_POST['showmax'];
		
		$airtelData = $_POST['airtelData'];
		$mtnData = $_POST['mtnData'];
		$gloData = $_POST['gloData'];
		$etisalatData = $_POST['etisalatData'];
		
		$ikeja = $_POST['ikeja-electric'];
		$eko = $_POST['eko-electric'];
		$kano = $_POST['kano-electric'];
		$jos = $_POST['jos-electric'];
		$phed = $_POST['phed'];
		$ibedc = $_POST['ibedc'];
		$eedc = $_POST['eedc'];
		$abuja = $_POST['aedc'];
		$benin= $_POST['benin'];
        $aba= $_POST['aba'];
		$smile = $_POST['smile'];
		$sms = $_POST['sms'];
		$bet = $_POST['bet'];
        $bank = $_POST['bank'];  
		
	if(!empty($airtelvtu) && !empty($mtnvtu) && !empty($glovtu) && !empty($etisalatvtu) && !empty($dstv) && !empty($gotv) && !empty($startimes)  && !empty($ikeja) && !empty($eko) && !empty($kano) && !empty($jos) && !empty($phed) && !empty($ibedc) && !empty($abuja) && !empty($eedc) && !empty($sms) ) {	
		
		
	$sql_store = mysqli_query($conn,
	
	"UPDATE billing SET 
	
airtelvtu='$airtelvtu',
mtnvtu='$mtnvtu',
glovtu='$glovtu',
9mobilevtu='$etisalatvtu',
mtnawuf='$mtnawuf',
mtnshare='$mtnshare',
gloshare='$gloshare',
airtelshare='$airtelshare',
9mobileshare='$etisalatshare',
dstv='$dstv',
gotv='$gotv',
startimes='$startimes',
showmax='$showmax',
airtelData='$airtelData',
mtnData='$mtnData',
gloData='$gloData',
9mobileData='$etisalatData',
IkejaElectric='$ikeja',
EkoElectric='$eko',
Kedc='$kano',
Phed='$phed',
Ibedc='$ibedc',
JosElectric='$jos',
EnuguElectric='$eedc',
AbujaElectric = '$abuja',
aba='$aba',
benin='$benin',
smile='$smile',
sms = '$sms',
transfer = '$bank',
bet='$bet'
");	

echo "<div class='alert alert-success'>Settings saved</div>";
	}else{
		
echo "<div class='alert alert-danger'>Field cannot be empty</div>";		
		}
		
	
?>