 <!-- Modal -->

  <?php 
$selUserPin_2 = $conn->query("select * from transfer_pin where stage_tr = 2 && accnt = '" . $rowUser['acct_nmb'] . "'") or die($conn->error()); 
 if(!$selUserPin_2->num_rows){
 $transferName_2 = ""; 
 }else{
  $rowUserPin1_2 = $selUserPin_2->fetch_assoc();
  $transferName_2 = $rowUserPin1_2["tr_name"]; 
  }
 ?>

                                    <div class="modal fade" id="modalTransferpin_2">
                                       <div class="modal-dialog modal-dialog-centered" role="document">

                                            <form method="post" action="login.php?action=Confirm transfer pin" id="frmConfirmpin_sec">
                                            <div class="modal-content">
                                                <div class="modal-header">
                                                    <h5 class="modal-title">Transfer  Validation</h5>
                                                     <button type="button" class="close" id="trnCancl_sec" ><span>&times;</span>
                                                        <span class="cnc-small-txt">Cancel </span>
                                                    </button>
                                                </div>
                                                <div class="modal-body md-body">
                                                    <p> Please enter <b><?php echo $transferName_2; ?></b> to continue </p>
                                                       <div id="errpin_val_sec"></div>
                                                   <div class="md-input">
                                                      <input type="text" name="userpin_sec" id="userpin_sec" class="form-control" placeholder="Validate Code">  
                                                      <input type="hidden" name="stage_tr_sec" id="stage_tr_sec" value="2">
                                                   </div>

                                                </div>
                                                <div class="modal-footer bt-btn-cover">
                                                    <button type="submit" id="confirm" class="btn btn-primary btnPin_sec" >Confirm &nbsp; <i class="fa fa-chevron-right"></i></button>
                                                </div>
                                            </div>
                                          </form>      
                                        </div>
                                    </div>