"; // print_r($_REQUEST); // die; $date=date('d-m-Y'); $time=date('H:i:s'); $gref=$_REQUEST["gref"]; $gip=$_REQUEST["gip"]; $gport=$_REQUEST["gport"]; $staff=$_REQUEST["staff"]; $mgw=$_REQUEST["mgw"]; $mussd=$_REQUEST["mussd"]; $balance=$_REQUEST["balance"]; $prob=$_REQUEST["problem"]; $action=$_REQUEST["action"]; $comment=$_REQUEST["comment"]; //echo 1; $header = ""; $row = ""; foreach ($_REQUEST as $key => $value) { $header = $header."".$key.""; $row = $row."".$value.""; } $header = $header.""; $row = $row.""; mysqli_query($con,"insert into minutes(date,time,g_ref,g_ip,g_port,staff,m_gw,m_ussd,balance,problem,action,comment)values('$date','$time','$gref','$gip','$gport','$staff','$mgw','$mussd','$balance','$prob','$action','$comment')"); echo "".$header.$row."
"; die; } ?> Minutes Detail
Gateway Ref:

Gateway IP:192.168.101.101192.168.101.102192.168.101.103

Gateway Port: '; echo ""; foreach($eachlines as $lines){ echo ""; } echo ''; ?>

Staff:

Minutes On Gateway:

Minutes On USSD:

Balance On USSD:

Problem: '; echo ""; foreach($eachlines as $lines){ echo ""; } echo ''; ?>

Action: '; echo ""; foreach($eachlines as $lines){ echo ""; } echo ''; ?>

Comments: