How can I output this one correctly through a foreach-loop?
[PHP]Array
(
[0] => Array
(
[Table] => Asdf
[Field] => Array
(
[0] => asdf
)
[Values] => Array
(
[0] => asdf
)
)
[1] => Array
(
[Table] => SomeTablename
[Field] => Array
(
[0] => some subject
)
[Value] => Array
(
[0] => 298282
)
)
)[/PHP]
With this one:
[PHP]foreach($_SESSI ON['sessionName] as $table) {
foreach($table as $key => $value) {
echo "<tr><td>$k ey</td><td>$value</td>";
}
}[/PHP]
I only get this output:
Table Asdf
Field Array
Value Array
Table SomeTableName
Field Array
Value Array
Why the Array and not my values inside this array?
[PHP]Array
(
[0] => Array
(
[Table] => Asdf
[Field] => Array
(
[0] => asdf
)
[Values] => Array
(
[0] => asdf
)
)
[1] => Array
(
[Table] => SomeTablename
[Field] => Array
(
[0] => some subject
)
[Value] => Array
(
[0] => 298282
)
)
)[/PHP]
With this one:
[PHP]foreach($_SESSI ON['sessionName] as $table) {
foreach($table as $key => $value) {
echo "<tr><td>$k ey</td><td>$value</td>";
}
}[/PHP]
I only get this output:
Table Asdf
Field Array
Value Array
Table SomeTableName
Field Array
Value Array
Why the Array and not my values inside this array?
Comment