<td colspan="5"><hr align="left"></td> </tr> <tr align="center"> <td colspan="5"> <input type="Reset" class="button" value="Vaciar Datos" name="cmdReset"/> <input type="button" class="button" value="Consultar" name="cmdConsultar" onclick="javascript:validar();" /> <input name="cmdListar" type="hidden" value="OK"/> </td> </tr> </table> </div> </form> <?php //aqui detectamos que hemos pulsado al boton 'Consultar' //por lo que cojemos los parametros de los filtros, hacemos la consulta y la presentamos $arResult = $clsCNUsu->listadoOficinasDetallada($_GET); //var_dump($arResult);die; ?> <table id="datatablesMod" class="display"> <thead> <tr> <th style="width: 5%;">Código</th> <th style="width: 15%;">Nombre</th> <th style="width: 15%;">Población</th> <th style="width: 10%;">Provincia</th> <th style="width: 15%;">Dirección</th> <!-- <th style="width: 5%;">Baja</th>--> </tr> </thead> <tbody> <?php