Hide and display items from a table

-1

I have a table in which in a column the data of each cell are items of an array.

<tr>
<td class="<?php echo $cor; ?>"><?php echo $auxTIPO == 1 ? 'Estatísticas' : trim($BlobParams[6]); ?></td>
<td><?php echo trim($nomeRelatorio); ?></td>
<td><?php echo trim(htmlentities($dados1[2])); ?></td>
<td><?php echo trim(htmlentities($dados1[3])); ?></td>
<td><?php echo date("d/m/Y",strtotime($dados1[4])); ?></td>
<td><?php echo $dados1[5]; ?></td>
<td><?php echo date("d/m/Y",strtotime($dados1[6])); ?></td>
<td><?php echo $dados1[7]; ?></td>
<td><?php echo $dados1[9]; ?></td>
<td>
    <?php 
         echo $BlobParams[0]."<br>";
         echo $BlobParams[1]."<br>";
         echo $BlobParams[2]."<br>";
         echo $BlobParams[3]."<br>";
         echo $BlobParams[4]."<br>";
         echo $BlobParams[5]."<br>";
         echo $BlobParams[6]."<br>";
    ?>
</td>

In this way the last column gets the data one underneath the other and becomes too big is there any way in this column to create a kind of button where the person when clicking shows the data ?? Either by expanding the clicked line or by opening a modal, I accept suggestions. I hope I have been clear in my doubt.

    
asked by anonymous 14.12.2018 / 17:35

0 answers