renaud2263 Posted October 19, 2016 Share Posted October 19, 2016 Bonjour, J'ai un tableau avec cette structure : [8089] => Array ( [perso] => Array ( [0] => Array ( [customer] => 8089 [lastname] => NELSON [ca] => 196.36 ) ) [reseau] => Array ( [0] => Array ( [0] => Array ( [customer] => 12108 [lastname] => FINDLAY [ca] => 0 ) ) [1] => Array ( [0] => Array ( [customer] => 12208 [lastname] => PAULVAICHE [ca] => 0 ) ) [2] => Array ( [0] => Array ( [customer] => 12341 [lastname] => VERDY [ca] => 0 ) ) ) ) Mais je galère pour l'afficher dans le smarty avec les foreach. Je voudrais afficher d'abord la clef 'perso' qui est le parrain, puis, dessous, le tableau "reseau" qui sont ses filleuls. J'ai regardé les exemples sur smarty.net, mais rien à faire... Merci pour vos tuyaux. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now