![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 113 Pomógł: 0 Dołączył: 7.08.2003 Skąd: Warszawa | Jankowce Ostrzeżenie: (0%) ![]() ![]() |
w jakis sposob zrobic licznik w smarty - sluzacy jako wyswietlane id, jezeli stosuje
Kod {section name=lista loop=$lista}
Id. El1. {$lista[lista].lista_element1}<br> El2. {$lista[lista].lista_element1}<br> <br><br> {/section} powiedzmy wyswietla mi to cos takiego Kod Id.
El1. bsdfasdf El2. sadfas Id. El1. sdfasdf El2. gdfgdfg Id. El1. sdfasdfasdfasdf El2. sdfasdfasdf ale chcialbym zeby po Id. miesc po koleji 1, 2 ,3 poprostu zeby mi tworzylo id grupy Jak to zrobic ![]() |
|
|
![]()
Post
#2
|
|
![]() Grupa: Przyjaciele php.pl Postów: 554 Pomógł: 0 Dołączył: 4.04.2002 Skąd: Tychy Ostrzeżenie: (0%) ![]() ![]() |
zastosuj wlassnosci section index, lub index_next
-------------------- "Real children don't go hoppity-skip unless they are on drugs."
|
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 18.07.2025 - 03:56 |