Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] jak ustawic tablice od najwiekszej wartosci
AndyPSV
post
Post #1





Grupa: Zarejestrowani
Postów: 393
Pomógł: 5
Dołączył: 6.02.2003
Skąd: The.Luciferian.Doctrine.p
df

Ostrzeżenie: (30%)
XX---


Mam takie cos, chce ustawic ta tablice po najwiekszej wartosci "e_months0" (teraz jest dobrze ustawiona, ale jak zrobic skrypt, ktory by ustawial ja?):

  1. 0 =>
  2. 'id' => '1',
  3. 'nick' => 'AndyPSV',
  4. 'status' => 'admin',
  5. 'first_name' => 'Andrzej Jeziorski',
  6. 'c_months3' => 0,
  7. 'c_months1' => 0,
  8. 'c_months0' => 5,
  9. 'c_months_now' => 3,
  10. 'e_months3' => '',
  11. 'e_months1' => '',
  12. 'e_months0' => '100',
  13. 'this_month' => 500,
  14. ),
  15. 1 =>
  16. 'id' => '2',
  17. 'nick' => 'Toruniak',
  18. 'status' => 'caller',
  19. 'first_name' => '',
  20. 'c_months3' => 0,
  21. 'c_months1' => 0,
  22. 'c_months0' => 0,
  23. 'c_months_now' => 0,
  24. 'e_months3' => '',
  25. 'e_months1' => '',
  26. 'e_months0' => '',
  27. 'this_month' => 0,
  28. ),
  29. )
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 3.10.2025 - 06:58