Bonjour.
Ce code n'est pas valide. Quelle est la bonne méthode ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 $toto = array('a', 'b'); $titi[0] = array('aa', 'a2'); $riri[1] = array('ba', 'b2'); foreach($toto as $key => $txt) { echo $txt . ' : '; foreach($titi[$key] as $txt2) { echo $txt2 . ' '; } }
Partager