<div id="panelModificaPass"> <table id="muestraDatos" style="margin-left:12%;"> <tr> <th>Código Área</th> <th>Nombre Área</th> <th>Seleccionar</th> </tr> <?php require_once '../facades/FacadeUsuarios.php'; require_once '../modelo/dao/UsuarioDAO.php'; require_once '../facades/FacadeAreas.php'; require_once '../modelo/dao/AreasDAO.php'; $facadeUsuarios = new FacadeUsuarios(); $all = $facadeUsuarios->listarAreas(); $facadeArea = new FacadeAreas(); $APRol = $facadeArea->obtenerAreas($_GET['id']); foreach ($all as $unit) { if ($unit['idAreas'] != 0) { ?> <tr> <td style="text-align:center"> <?php echo '0' . $unit['idAreas']; ?> </td> <td style="text-align:center"> <?php echo $unit['nombreArea']; ?> </td> <td style="text-align:center" ><input type="checkbox" id="estado" name="<?php echo $unit['idAreas'];