<table id="example" class="table table-hover dataTable" data-page-length='25'> <thead> <tr> <th>Nombre/Razón</th> <th>Teléfono</th> <th>Ciudad</th> <th>Tipo de Expediente</th> <th>Acciones</th> </tr> </thead> <tbody style="text-transform: uppercase;"> <?php include_once '../controller/cExpediente.php'; $exp = new cExpediente(); $con = $exp->listarExpedientesPIntervalo($_POST['tipo'], $_POST['finicio'], $_POST['ffin']); $nmain = $exp->getNExpeMain($_POST['tipo']); while ($l = $con->NextRow()) { ?> <input id="tipoExpe" type="hidden" value="<?php echo $_POST['tipo']; ?> " /> <tr> <td class="odd"><?php echo $l['razon'] . $l['nombre'] . ' ' . $l['a_pat'] . ' ' . $l['a_mat']; ?> </td> <td><?php echo $l['telefono_p'];