Welcome Guest, Not a member yet? Register   Sign In
How to accommodate the rows of my table?
#1

Help, I feel it is a fairly simple problem, but I can't find error, can you help me?

In this part where I realize the filling of the table of the bottom Confused Confused

 
Code:
<?php if( !empty($obtenOperacion)) {
            foreach($obtenOperacion as $fi) {
              if( !empty($consulta) ) {
                foreach($consulta as $fil) {
                  if($fil->operacion==$fi->operacion && $fila->cveEmpleado ==$fil->cveEmpleado AND $fil->cveEmpleado==$fil->cveEmpleado)  {
                   ?>
                   <td class="<?php echo $fil->color?>"><h4><?php echo $fil->operacion?></h4> <?php echo 'X'; ?></td>
                 <?php }#Cierra if
               elseif ($fi->operacion!=$fil->operacion) {?>
                 <td>N/A</td>
                 <?php
             }#ciella Else if
           }#Cierra consulta
         }#Cierra if que compara operación
        }#Cierra foreach fi
      }#Cierra if de obtenOperacion ?>
    </tr>


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
How to accommodate the rows of my table? - by Yukari31 - 12-15-2016, 10:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB