Mailinglisten-Archive |
a.bischof at gmx.net schrieb:
> Hallo Sebastian,
>>> Debugarray oben stimmt, die Tabelle (erste Spalte) nicht:
>>> http://bischof.homelinux.net/modx/index.php?id=101
>
> [...]
> while (list(, $eventRow) = each ($sortedTable)) {
vielleicht solltest du dir im Handbuch nochmal die Funktionsweise von list
anschauen ... ;-)
http://php.net/list
probier es in der zwischenzeit mal so:
foreach ($sortedTable as $group => $eventRow) {
$output .= '<tr>';
$output .= '<td>' . $group . '</td>';
$output .= '<td>' . $eventRow['monday'] . '</td>';
$output .= '<td>' . $eventRow[...] . '</td>';
$output .= '</tr>';
}
--
Sebastian
php::bar PHP Wiki - Listenarchive