<?php 

    session_start();
    // if(isset($_POST['selectPlayer'])){
    //     $player = $_POST['selectPlayer'];
    //     $amount = $_POST['paid_entry'];
    //     $_SESSION['pid'] = array('pid' => $player,'amt' => $amount);
    //     $amount = $_POST['paid_entry'];
    //     $data = array(
    //         "player"     => $player,
    //         "amount"  => $amount,
    //     );
    //     echo json_encode($data);
    // }
    // print_r($_SESSION['pid']);
    // print_r($_SESSION['price']);
    // foreach($_SESSION['pid'] as $val){
    //     echo $val['amt'].'<br>';
    // }
    // echo $_SESSION['pid'][3]['amt'];
    // print_r($_SESSION['multi']);
    // foreach($_SESSION['multi'] as $val){
    //     echo $val['type'].' '.$val['amt'].'<br>';
    // }
    // print_r($_SESSION['pid']['amt']);
    // unset($_SESSION['pid']);
    // unset($_SESSION['price']);
    // unset($_SESSION['multi']);
    $entry_item = $_POST['entry_item'];
    print_r($entry_item);
 		foreach($entry_item as $item){
 		   echo $item ;
 		}
 		
 		
?>
<form method="post">
    <div class="col-md-6 form-group" id="entry-box1" >
	<label for="entry_type1">Entry Type<span class="text-danger">*</span></label>
	<input type="text" class="form-control" name="entry_item[0][ns]" id="entry_type1" >
</div>
    <div class="col-md-6 form-group" id="entry" >
	<label for="entry_type1">Entry Type<span class="text-danger">*</span></label>
	<input type="text" class="form-control" name="entry_item[1][ns]" id="" >
</div>
</div>
    <div class="col-md-6 form-group" id="entry" >
	<label for="entry_type1">Entry Type<span class="text-danger">*</span></label>
	<input type="number" class="form-control" name="entry_item[0][nss]" id="" >
</div>
</div>
    <div class="col-md-6 form-group" id="entry" >
	<label for="entry_type1">Entry Type<span class="text-danger">*</span></label>
	<input type="number" class="form-control" name="entry_item[1][nss]" id="" >
</div>
<input type="submit">
</form>