<?php 
include_once "../model/mAutocomplete.php";
$auto = new mAutocomplete();
$num = $auto->countCoincidenciasClte($_POST['razon'], $_POST['nombre'], $_POST['a_pat'], $_POST['a_mat']);
if ($num == 0) {
    echo 0;
} else {
    $lexpes = $auto->coincidenciasClte($_POST['razon'], $_POST['nombre'], $_POST['a_pat'], $_POST['a_mat']);
    ?>
<div class="modal-dialog" style="width:60%">
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title" id="myModalLabel">SE ENCONTRARON LAS SIGUIENTES COINCIDENCIAS:</h4>
      </div>
      <div class="modal-body">
      	<table class="table table-striped" style="text-transform: uppercase">
      		<thead>
      			<th>ID</th>
      			<th>RAZON/NOMBRE</th>
      			<th>TIPO DE EXPEDIENTE</th>
      			<th>ACCIONES</th>
      		</thead>
      		<tbody>      			
        <?php 
    while ($l = $lexpes->NextRow()) {
        ?>
        <tr>
      			<td><?php 
        echo $l['clave_agrupadora'];
        ?>
</td>