Bonjour,

J'ai un tableau que je souhaite trié.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
 
foreach ($tab_match as $key => $row) {	
	$global[$key] = $row['global'];
	$prono[$key] = $row['Prono'];
    $score[$key] = $row['Score'];	
    $fourche[$key] = $row['Fourchette'];
    $mvp[$key] = $row['MVP'];
    $ev[$key] = $row['Eval'];
	$ctr_p[$key] = $row['ctr_prono_match'];	
	$ratio_match[$key] = $row['ratio'];
array_multisort($ratio_match, SORT_ASC, $global, SORT_ASC, $tab_match);
et j'ai l'erreur:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
Warning: array_multisort() [function.array-multisort]: Array sizes are inconsistent in
Or ce tri n'est qu'un copié collé (en changeant les noms de zone) d'un autre tri qui marche très bien.
Et je ne vos pas où peut-être l'erreur. Cela sauteras certainement aux yeux d'un regard nouveau
Merci