私の配列は次のとおりです。
Array (
[**Anconia**] => Array ( [1335372330] => 7 [1335190784] => 7 [1334883979] => 7 [1334672871] => 7 [1334539093] => 7 [1334337930] => 7 [1334189033] => 7 [1334007668] => 7 [1333567097] => 7 [1332973327] => 7 [1332533799] => 7 [1332215655] => 7 [1331697329] => 7 [1331239651] => 7 [1331075294] => 7 [1330983800] => 7 [1330658201] => 7 [1330484662] => 7 [1330202828] => 7 [1330028992] => 7 )
[**Angellica**] => Array ( [1335372330] => 9 [1335190784] => 9 [1334883979] => 10 [1334539093] => 10 [1334337930] => 10 [1334189033] => 10 [1334007668] => 10 [1331697329] => 9 [1331239651] => 9 [1331075294] => 9 [1330983800] => 9 [1330658201] => 10 [1330484662] => 10 [1330202828] => 8 [1330028992] => 9 )
)
TimeStamp Tally Number
[1335372330] => 7
これを抽出しようとしたときに foreach を使用すると、私は混乱しました。NAME(太字で印刷)を一度印刷し、タイムスタンプを表示したい=いくつ。
どうすればそれについて行くでしょうか?
前もって感謝します!
編集:
私の試み
foreach($results as $k => $v) {
$THEAD .= "<th scope='col'>".$k."</th>";
$TBODY .= "<tr><th scope='row'>".$v."</th>";
$TBODY2 .= "<td>".$results[$k]."</td>";
}