Bonjour,
Lorsque je fais un :
Code : Sélectionner tout - Visualiser dans une fenêtre à part var_dump($tabInterets);Et lorsque je fais :array(3) { ["2"]=> array(7) { [0]=> object(stdClass)#72 (1) { ["CodeInteret"]=> string(1) "8" } [1]=> object(stdClass)#70 (1) { ["CodeInteret"]=> string(1) "9" } [2]=> object(stdClass)#68 (1) { ["CodeInteret"]=> string(2) "10" } [3]=> object(stdClass)#67 (1) { ["CodeInteret"]=> string(2) "11" } [4]=> object(stdClass)#71 (1) { ["CodeInteret"]=> string(2) "12" } [5]=> object(stdClass)#74 (1) { ["CodeInteret"]=> string(2) "13" } [6]=> object(stdClass)#75 (1) { ["CodeInteret"]=> string(2) "14" } } ["1"]=> array(1) { [0]=> object(stdClass)#76 (1) { ["CodeInteret"]=> string(1) "1" } } ["6"]=> array(2) { [0]=> object(stdClass)#77 (1) { ["CodeInteret"]=> string(2) "18" } [1]=> object(stdClass)#78 (1) { ["CodeInteret"]=> string(2) "20" } } }
j'ai :
Code : Sélectionner tout - Visualiser dans une fenêtre à part var_dump($tabInterets["2"]);
Pourquoi ne m'affiche t'il pas mon tableau ?Notice: Undefined index: 2 in /www/htdocs/floght/application/controllers/ProfilController.php on line 397
NULL
Merci
Partager