Hi,
Ja – nutze ein Array.
Mit oben gezeigtem nutzt du doch schon zwei „Ebenen“ – wo ist das Problem, einfach noch eine weitere hinzu zu nehmen?Ach, das geht??
Oh, wußt' ich nicht.
Wieso nicht – benutzt hast du es doch schon …
Einfach $_SESSION[$id][$uniqueid][$name]?
Und wie sähe dann die die Elemente verarbeitende foreach-Schleife aus, die alle Namen abarbeitet?
So, wie jede andere foreach-Schleife auch – du übergibst ihr das Array, über das du iterieren willst.
MfG ChrisB
--
RGB is totally confusing - I mean, at least #C0FFEE should be brown, right?
RGB is totally confusing - I mean, at least #C0FFEE should be brown, right?