Afficher un tableau php

Fermé
Cid57 Messages postés 1 Date d'inscription dimanche 1 mars 2009 Statut Membre Dernière intervention 1 mars 2009 - 1 mars 2009 à 11:20
Bonjour à tous,

AU SECOURS !

Ma problématique est d'afficher proprement un résultat provenant d'un tableau.

Je travaille sur une base de données avec des informations financières, des échéances que certains clients ne respectent pas. L'idée est de classer la liste des clients avec un ordre croissant sur le montant du.

J'arrive classer les informations, mais il me manque la bonne fonction pour afficher le résultat suivant de manière lisible ( j'obtiens l'affichage ci-dessous avec var_export() ):

array (
0 =>
array (
'nom' => 'CLIENTX1',
'retard1' => '3379.20',
'nombre_ech' => '1',
),
1 =>
array (
'nom' => 'CLIENTX2',
'retard1' => '1350.98',
'nombre_ech' => '1',
),
2 =>
array (
'nom' => 'CLIENTX3',
'retard1' => '1300.00',
'nombre_ech' => '5',
),
3 =>
array (
'nom' => 'CLIENTX4',
'retard1' => '1040.00',
'nombre_ech' => '4',
),
4 =>
array (
'nom' => 'CLIENTX5',
'retard1' => '780.00',
'nombre_ech' => '3',
),
5 =>
array (
'nom' => 'CLIENTX6',
'retard1' => '780.00',
'nombre_ech' => '3',
),
6 =>
array (
'nom' => 'CLIENTX7',
'retard1' => '750.00',
'nombre_ech' => '3',
),
7 =>
array (
'nom' => 'CLIENTX8',
'retard1' => '520.00',
'nombre_ech' => '2',
),
8 =>
array (
'nom' => 'CLIENTX9',
'retard1' => '292.02',
'nombre_ech' => '1',
),
)

Comment puis-je faire pour arriver à afficher :

- CLIENTX1, 1 échéance de retard, 3379.20 EUR
- CLIENTX2, 1 échéance de retard, 1350.98 EUR
- CLIENTX3, 5 échéances de retard, 1300.00 EUR
etc.

Merci de votre aide précieuse.

Cordialement,
Cédric