Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi

SUJET : get the two largest numbers from an array

get the two largest numbers from an array il y a 1 an 6 mois #96339

i have six result equation question types, how would i write an equation to the the two largest of those six?

my first thought is to use the asort php function. i see that it is not supported natively so there is a custom javascript function that will produce the same results and i see how to add asort to the em_core_helpler.php file, but i cant figure out how to construct the array in the first place. then i am not sure how to get the first two elements in the array for use in other equations.
L'administrateur a désactivé l'accès en écriture pour le public.
Modérateurs: ITEd
Temps de génération de la page : 0.117 secondes
Donation Image