Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Następny/poprzedni numer ID w sesji
northwest
post
Post #1





Grupa: Zarejestrowani
Postów: 788
Pomógł: 1
Dołączył: 17.09.2004

Ostrzeżenie: (10%)
X----


Witam serdecznie,
Mam w tablicy, w sesji taką zawartość:
  1. (
  2. [0] => Array
  3. (
  4. [id] => 2
  5. )
  6. [1] => Array
  7. (
  8. [id] => 12
  9. )
  10. [2] => Array
  11. (
  12. [id] => 32
  13. )
  14.  
  15. )


To są ulubione produkty. Chce zrobić strzałki (linki) po których kliknięciu będę miał przekierowanie na następną stronę "ulubionego produktu".

W jaki sposób sprawdzić i pobrać następujące ID z tej sesji/tablicy?(IMG:style_emoticons/default/smile.gif)


Bardzo proszę o pomoc,
Northwest

Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
northwest
post
Post #2





Grupa: Zarejestrowani
Postów: 788
Pomógł: 1
Dołączył: 17.09.2004

Ostrzeżenie: (10%)
X----


mam taką tablicę:
  1. (
  2. [0] => Array
  3. (
  4. [id] => 5
  5. )
  6.  
  7. [1] => Array
  8. (
  9. [id] => 6
  10. )
  11.  
  12. [2] => Array
  13. (
  14. [id] => 1
  15. )
  16.  
  17. [3] => Array
  18. (
  19. [id] => 2
  20. )
  21.  
  22. [4] => Array
  23. (
  24. [id] => 3
  25. )
  26.  
  27. [5] => Array
  28. (
  29. [id] => 4
  30. )
  31.  
  32. )



I ten kod następne/poprzednie mi nie działa jednak (IMG:style_emoticons/default/sad.gif)
Przepraszam za zamieszanie

mam błąd: Fatal error: Maximum execution time of 30 seconds exceeded
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: 8.10.2025 - 18:49