Hirdetés

Új hozzászólás Aktív témák

  • tothjozsi96

    addikt

    Most így szépen beírja, csak kiolvasni nem tudom eddig még.

    array(2) { ["uzenofal"]=> array(2) { ["uzenofal"]=> array(2) { ["uzenofal"]=> array(2) { ["uzenofal"]=> array(2) { ["uzenofal"]=> array(2) { ["uzenofal"]=> array(2) { ["uzenofal"]=> NULL [0]=> array(5) { ["id"]=> int(1) ["username"]=> string(5) "coder" ["class"]=> int(8) ["userid"]=> string(1) "1" ["text"]=> string(3) "csá" } } [0]=> array(5) { ["id"]=> int(1) ["username"]=> string(5) "coder" ["class"]=> int(8) ["userid"]=> string(1) "1" ["text"]=> string(3) "asg" } } [0]=> array(5) { ["id"]=> int(1) ["username"]=> string(5) "coder" ["class"]=> int(8) ["userid"]=> string(1) "1" ["text"]=> string(5) "asdfh" } } [0]=> array(5) { ["id"]=> int(1) ["username"]=> string(5) "coder" ["class"]=> int(8) ["userid"]=> string(1) "1" ["text"]=> string(4) "asdh" } } [0]=> array(5) { ["id"]=> int(1) ["username"]=> string(5) "coder" ["class"]=> int(8) ["userid"]=> string(1) "1" ["text"]=> string(2) ":D" } } [0]=> array(5) { ["id"]=> int(1) ["username"]=> string(5) "coder" ["class"]=> int(8) ["userid"]=> string(1) "1" ["text"]=> string(2) "új" } } [0]=> array(5) { ["id"]=> int(1) ["username"]=> string(5) "coder" ["class"]=> int(8) ["userid"]=> string(1) "1" ["text"]=> string(2) ":D" } }

    Mivel dupla tömb ezért így is próbálkoztam, de nem jó ...

    $adat = $memcache->get("uzenofal");
    foreach($adat as $valami) {
    foreach($valami as $kulcsom) {
    echo $kulcsom["text"];
    }
    }

Új hozzászólás Aktív témák