Gast
#7196277
Hallo, in PHP Zahlen in einem Array zu sortieren ist nicht schwer. Hierzu gibt es etliche Beispiele im Internet. Wenn ich nun aber folgendes array hätte $zahl[1]=12; $zahl[2]=1; $zahl[3]=100; $zahl[4]=34; Würde es folgende Ausgabe nachdem Sortieren sein: 1 12 34 100 Wie bekomme ich aber heraus, dass die erste Zahl vom Array 2, die zweite Zahl vom Array 1, die dritte Zahl vom Array 4 und die letzte Zahl vom Array 3 stammt?