<div class="portlet-body">
<form role="form" class="form-horizontal" name="frm_edit_details" id="frm_edit_details" method="POST" action="URL::route('sample/update/')">
<?php if(isset($message) && $message != "") echo "<div class='alert alert-success alert-dismissable'>".$message."</div>"; ?>
<h4> Information </h4>
<?php foreach($lists as $list): ?>
<div class="row">
<div class="form-group">
<label class="col-md-2 control-label"> Customer ID: </label>
<div class="col-md-4">
<input type="text" class="form-control" placeholder="Number" id="CUSTOMER_ID" name="CUSTOMER_ID" value="<?php if(isset($list->CUSTOMER_ID)) echo ($list->CUSTOMER_ID); ?>" />
</div>
<label class="col-md-2 control-label">Invoice Number: </label>
<div class="col-md-4">
<input type="text" class="form-control" placeholder="Number" name="INVOICE_NO" id="INVOICE_NO" value="<?php if(isset($list->INVOICE_NO)) echo ($list->INVOICE_NO); ?>" />
</div>
<label class="col-md-2 control-label">Phone Number: </label>
<div class="col-md-4">
<input type="text" class="form-control" placeholder="Number" name="PHONE_NO" id="PHONE_NO" value="<?php if(isset($list->PHONE_NO)) echo ($list->PHONE_NO); ?>" />
</div>
</div>
</div>
<br>
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
<a href="<?php echo URL::route('sample/update/', ($list->CUSTOMER_ID) ); ?>" class="btn blue">Submit</a>
</div>
</div>
<?php endforeach; ?>
</form>
</div>
while displaying the data in PHP form from Database, it is displaying the data in form.
after making some changes and clicking on submit i am able to capture only CUSTOMER_ID data remaining phone number and invoice number i am unable to capture.
I want to capture the complete data after some changes done in the form