Frage : Art-mehrdimensionales Feld PHP

Hallo helfen Experten,

Could jemand mir, diese Reihe mit irgendein PHP-Code zu sortieren?  Ich möchte auf dem Namen in sortieren (Reihe [n] - > [0]).

zum Beispiel möchte ich, dass die resultierende Reihe durch den Personennamen alphabetisch bestellt.  Im Augenblick bestellt sie als die SQL-Frage zurückbrachten sie.  Ich es vorziehen ch, sie in PHP eher zu tun, als SQL.

Doing die Art using den ersten Buchstaben im Namenselement (IE 'H'arvey Keitel) fine.

Any Ideen ist?

Thanks HNM
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:
Array ([0] => Reihe ([0] => Spieler [1] => Position [2] => trägt ATT [3] => Baut. [4] => TD [5] => Ints [6] => Conv [7] => Recep [8] => Tropfen [9] => [10] => 1. unten [11] => Rouge [12] => Säcke [13] das => Presse [14] => Laufen lassen-Durch [15] => Sicherheiten [16] das => Durchlauf (D)) 

[1] => Reihe ([0] => Leonard Nemoi [1] => [2] => 0 [3] => 0 [4] => 1 [5] => 0 [6] => 0 [7] => 37 [8] => 2 [9] => 0 [10] => 12 [11] => 0 [12] => 0 [13] => 0 [14] => 0 [15] => 0 [16] => 1)

[2] => Reihe ([0] => Harvey Keitel [1] => [2] => 0 [3] => 0 [4] => 2 [5] => 0 [6] => 0 [7] => 9 [8] => 0 [9] => 0 [10] => 4 [11] => 0 [12] => 0 [13] => 0 [14] => 0 [15] => 0 [16] => 5) 

[3] => Reihe ([0] => Doofy McFleur [1] => [2] => 0 [3] => 0 [4] => 2 [5] => 7 [6] => 0 [7] => 27 [8] => 4 [9] => 0 [10] => 8 [11] => 1 [12] => 0 [13] => 0 [14] => 0 [15] => 0 [16] => 8) 

[4] => Reihe ([0] => Niki Minaj [1] => [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => 2 [8] => 0 [9] => 0 [10] => 2 [11] => 0 [12] => 0 [13] => 0 [14] => 0 [15] => 0 [16] => 2) 

[5] => Reihe ([0] => Richard Simmons [1] => [2] => 0 [3] => 0 [4] => 1 [5] => 0 [6] => 0 [7] => 0 [8] => 0 [9] => 0 [10] => 0 [11] => 0 [12] => 6 [13] => 7 [14] => 2 [15] => 1 [16] => 2) 

[6] => Reihe ([0] => Donald Duck [1] => [2] => 0 [3] => 0 [4] => 0 [5] => 7 [6] => 0 [7] => 3 [8] => 1 [9] => 0 [10] => 2 [11] => 0 [12] => 0 [13] => 0 [14] => 0 [15] => 0 [16] => 4) 

[7] => Reihe ([0] => Bill Gates [1] => [2] => 0 [3] => 0 [4] => 0 [5] => 3 [6] => 0 [7] => 0 [8] => 0 [9] => 0 [10] => 0 [11] => 0 [12] => 0 [13] => 0 [14] => 0 [15] => 0 [16] => 5) 

[8] => Reihe ([0] => Tommy Douglas [1] => [2] => 35 [3] => 21 [4] => 3 [5] => 1 [6] => 4 [7] => 23 [8] => 2 [9] => 7 [10] => 19 [11] => 0 [12] => 9 [13] => 1 [14] => 0 [15] => 0 [16] => 1) 

[9] => Reihe ([0] => Leif Eriksen [1] => [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => 4 [8] => 0 [9] => 0 [10] => 2 [11] => 0 [12] => 1 [13] => 3 [14] => 4 [15] => 0 [16] => 0) 

[10] => Reihe ([0] => Yngwie Malmsteen [1] => [2] => 0 [3] => 0 [4] => 2 [5] => 0 [6] => 1 [7] => 12 [8] => 3 [9] => 0 [10] => 5 [11] => 0 [12] => 0 [13] => 0 [14] => 0 [15] => 0 [16] => 1) 

[11] => Reihe ([0] => Henry Ford [1] => [2] => 0 [3] => 0 [4] => 1 [5] => 4 [6] => 0 [7] => 4 [8] => 1 [9] => 0 [10] => 2 [11] => 0 [12] => 0 [13] => 0 [14] => 0 [15] => 0 [16] => 4) 

[12] => Reihe ([0] => Andrew Carnegie [1] => [2] => 184 [3] => 129 [4] => 10 [5] => 10 [6] => 8 [7] => 0 [8] => 0 [9] => 2 [10] => 53 [11] => 4 [12] => 8 [13] => 0 [14] => 0 [15] => 0 [16] => 0) 

[13] => Reihe ([0] => Perez Hilton [1] => [2] => 0 [3] => 0 [4] => 2 [5] => 2 [6] => 6 [7] => 31 [8] => 0 [9] => 0 [10] => 15 [11] => 0 [12] => 0 [13] => 0 [14] => 0 [15] => 0 [16] => 4))

Antwort : Art-mehrdimensionales Feld PHP

warum scheint dieses wie eine Heimarbeitsanweisung?
1:
2:
3:
4:
5:
Student_name, Summe (g.GPA) /count (*) vom Kursteilnehmer vorwählen gelassenes, den s [GPA] g auf s.Student_ID=g.Student_ID in dem City+ (Fall anschließen, wenn (Zustand) =0 '' sonst 'len dann, „+State Ende) +“ '+Country innen („Atlanta, GA Vereinigte Staaten“, „New Orleans, LA Vereinigte Staaten“, „Seoul Korea ")

Oberseite 1 Student_ID vorwählen, anschließen Student_Name vom gelassenen Kursteilnehmer s [GPA] g auf s.Student_ID=g.Student_ID in dem g.Course_name='MGT 3400 ' und g.year='2005 und g.Semester='Spring Auftrag durch GPA desc d

Student_ID vorwählen, anschließen Student_Name vom gelassenen Kursteilnehmer s [GPA] g auf s.Student_ID=g.Student_ID in dem g.Course_name='ART 4010 ' und g.year='2006 und g.Semester='Spring d
Weitere Lösungen  
 
programming4us programming4us