Catching on array data

0

Good morning

I have the following array

Array ( [0] => Array ( [ID] => 2 [UltimaAtualizacao] => 2017-04-20 16:15:00 [DataEntrada] => 2017-04-20 [Estado] => Finalizado [DataSaida] => [Relatorio] => Manutenção ) )

My question is how do I separate the data from the array into a table with the name above and the value below?

    
asked by anonymous 21.04.2017 / 10:31

1 answer

0

Solution

<tr>
    <td><?php print_r($rows[0]['ID']); ?></td>
    <td><?php print_r($rows[0]['DataEntrada']); ?></td>
    <td><?php print_r($rows[0]['UltimaAtualizacao']); ?></td>
    <td><?php print_r($rows[0]['Estado']); ?></td>
    <td><?php print_r($rows[0]['DataSaida']); ?></td>
    <td><center><img src="images/ico/Graphicloads-Filetype-Pdf.ico" width="30px" height="30px"</center></td>
</tr>
    
21.04.2017 / 12:05