Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> sortowanie tablicy trójwymiarowej
Leech
post
Post #1





Grupa: Zarejestrowani
Postów: 27
Pomógł: 0
Dołączył: 26.07.2007

Ostrzeżenie: (0%)
-----


witam,
jak posortować taką tablicę:
  1. <?php
  2. Array ( [0] => Array(
  3.  [0] => Array ( [align] => center [params] => class="productListing-heading" [text] =>    )
  4. [1] => Array ( [align] => [params] => class="productListing-heading" [text] =>  Produkt+  )
  5. [2] => Array ( [align] => right [params] => class="productListing-heading" [text] =>  Cena  )
  6. [3] => Array ( [align] => center [params] => class="productListing-heading" [text] =>    )
  7. [4] => Array ( [align] => center [params] => class="productListing-heading" [text] =>  kategoria  ) ) )
  8. ?>


wg klucza którym jest [0][4][text] ? Podalem pierwszy element tablicy, a elementów jest nieokreślona ilość

Ten post edytował Leech 2.10.2008, 13:00:19
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: 22.08.2025 - 22:19