Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Jak pobrać z tablicy?
herWALDI
post
Post #1





Grupa: Zarejestrowani
Postów: 41
Pomógł: 1
Dołączył: 14.05.2013

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


Witam,
mam mały problem..
Jak pobrać z tej tablicy element 'large' zz tablicy o parametrze position 4? Dodam, że tablica wypluwa 'position 4' nie zawsze w tym miejscu.. poniżej przykłady:

  1. [thumbnails] => Array
  2. (
  3. [0] => SDK_3D_Pack\lib\filter\ThumbnailFilter Object
  4. (
  5. [large] => xxx
  6. [thumb] => xxx
  7. [position] => 5
  8. )
  9.  
  10. [1] => SDK_3D_Pack\lib\filter\ThumbnailFilter Object
  11. (
  12. [large] => xx
  13. [thumb] => xx
  14. [position] => 3
  15. )
  16.  
  17. [2] => SDK_3D_Pack\lib\filter\ThumbnailFilter Object
  18. (
  19. [large] => xxxxx
  20. [thumb] => xxxxx
  21. [position] => 2
  22. )
  23.  
  24. [3] => SDK_3D_Pack\lib\filter\ThumbnailFilter Object
  25. (
  26. [large] => xxxxxxx
  27. [thumb] => xxxxxxx
  28. [position] => 4
  29. )


  1. [thumbnails] => Array
  2. (
  3. [0] => SDK_3D_Pack\lib\filter\ThumbnailFilter Object
  4. (
  5. [large] => xxx
  6. [thumb] => xxx
  7. [position] => 2
  8. )
  9.  
  10. [1] => SDK_3D_Pack\lib\filter\ThumbnailFilter Object
  11. (
  12. [large] => xx
  13. [thumb] => xx
  14. [position] => 4
  15. )
  16.  
  17. [2] => SDK_3D_Pack\lib\filter\ThumbnailFilter Object
  18. (
  19. [large] => xxxxx
  20. [thumb] => xxxxx
  21. [position] => 3
  22. )
  23.  
  24. [3] => SDK_3D_Pack\lib\filter\ThumbnailFilter Object
  25. (
  26. [large] => xxxxxxx
  27. [thumb] => xxxxxxx
  28. [position] => 1
  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: 25.08.2025 - 01:11