mortician
Registered +
- Registriert
- Juni 2005
- Beiträge
- 715
Hi
Ich hab ein kleines Problemchen.
Ich hab ein Array, in dem zb folgende Elemente sind:
array("1.JPG,"2.JPG",3.JPG",".....")
Wenn ich nun
sort($array) mache, sortiert er das array.
Allerdings wird dann wie folgt geordnet.
1.JPG, 10.JPG, 11.JPG,....,2.JPG
Ich will aber, dass er sie wie folg ordnet.
1.JPG,2.JPG,....10.JPG,11.JPG...
Hoff es ist verständlich.
Für jede Antwort dankbar.
Ich hab ein kleines Problemchen.
Ich hab ein Array, in dem zb folgende Elemente sind:
array("1.JPG,"2.JPG",3.JPG",".....")
Wenn ich nun
sort($array) mache, sortiert er das array.
Allerdings wird dann wie folgt geordnet.
1.JPG, 10.JPG, 11.JPG,....,2.JPG
Ich will aber, dass er sie wie folg ordnet.
1.JPG,2.JPG,....10.JPG,11.JPG...
Hoff es ist verständlich.
Für jede Antwort dankbar.
