$lender->setLandlord($_POST['landlord']);
    $lender->setYears($_POST['years']);
    $lender->setMonths($_POST['months']);
    $lender->setBankStatements($_POST['bankstatements']);
    $lender->setBankAverage($_POST['bank_average']);
    $lender->setNSF($_POST['nsf']);
    $lender->setCreditCard($_POST['creditcard']);
    $lender->setCreditCard_t($_POST['creditcard_t']);
    $lender->setCreditCardAverage($_POST['creditcard_average']);
    $lender->setEmail($_POST['email']);
    $lender->insertLender();
}
if (isset($_GET['edit'])) {
    $lender->Lender($_GET['edit']);
    $id_lender = $lender->getIDLender();
    $name = $lender->getName();
    $no_business = $lender->getBusiness();
    $no_business_array = explode(",", $no_business);
    $foreclosure = $lender->getForeclosure();
    $landlord = $lender->getLandlord();
    $years = $lender->getYears();
    $months = $lender->getMonths();
    $bankstatements = $lender->getBankStatements();
    $bank_average = $lender->getBankAverage();
    $nfs_average = $lender->getNSF();
    $creditcard = $lender->getCreditCard();
    $creditcard_t = $lender->getCreditCard_T();
    $creditcard_average = $lender->getCreditCardAverage();
    $email = $lender->getEmail();
    // print_r($no_business_array);
}
include 'modules/header.php';
?>
   <!-- header--> 
    
     
    <div class="row">  
      <div class="large-12 columns">    
       <div class="row">     
           
            <form action="" method="post"> 
         
                <div class="large-12 medium-12 columns"> <!-- Columna Izquierda -->     
                
                    <h2><?php 
$lender->Lender($id_lender);
echo '' . $lender->getName();
?>
 emails</h2>  
                </div>
            <div class="large-6 medium-6 columns"> <!-- Columna Izquierda -->
        
                
       <input  name="id_lender" type="hidden" placeholder="" value="<?php 
echo $id_lender;
?>
" /> 
         
       <input  name="id_email" type="hidden" placeholder="" value="<?php 
echo $id_email;
?>
" />