Bonjour,
J'ai essayé d'utiliser array_multisort avec le tableau suivant mais ça ne semble pas adapté :
Auriez-vous une idée pour trier ce tableau par hie_suphieid et nom ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30 [0] => Array ( [id] => 209 [nom] => RUF [prenom] => Arlette [photo] => \\\\srvw2k07\\users\\intranet\\GRH\\Photos\\exemple.bmp [sup] => 115 [sup_nom] => JURDIC [service] => Affaires Générales [hie_id] => 302 [hie_suphieid] => 301 [niveau] => 3 [fonction] => Chef de service ) [1] => Array ( [id] => 23 [nom] => BARTHELEMY [prenom] => Richard [photo] => \\\\srvw2k07\\users\\intranet\\GRH\\Photos\\exemple.bmp [sup] => 129 [sup_nom] => LEDUCQ [service] => Communication [hie_id] => 292 [hie_suphieid] => 291 [niveau] => 2 [fonction] => Chef de service )...
Merci pour vos suggestions.![]()
Partager