3
I need to read an array and get the name of your column and its value.
Array:
Array
(
[0] => Array
(
[Conta] => FRANCIELE OLIVEIRA
[CPF] => ''
[Telefone Res.] => (00) 0000-0000
)
[1] => Array
(
[Conta] => BEATRIX BEHN
[CPF] => ''
[Telefone Res.] => (00) 0000-0000
)
)
foreach ($Array as $row)
{
echo $row['Conta'];
echo $row['CPF'].'<BR><BR>';
}
But with this foreach I only print the values, I also need the column name, for example: Conta = BEATRIX