Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Pętla
seba199696
post
Post #1





Grupa: Zarejestrowani
Postów: 119
Pomógł: 0
Dołączył: 4.01.2011

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


Jak zapętlić coś takiego:

zapytanie...

  1. $smarty->assign($row['name_module'], $module_tpl.$row['name_module'].".tpl");
  2. include($module.$row['name_module'].".php");


chodzi mi o coś takiego:

  1. $smarty->assign($row['name_module'], $module_tpl.$row['name_module'].".tpl");
  2. include($module.$row['name_module'].".php");
  3.  
  4. $smarty->assign($row['name_module'], $module_tpl.$row['name_module'].".tpl");
  5. include($module.$row['name_module'].".php");


Ten post edytował seba199696 7.03.2012, 21:38:28
Go to the top of the page
+Quote Post

Posty w temacie
- seba199696   Pętla   7.03.2012, 21:36:57
- - PiotrekM   chcesz wyświetlić moduły w pętli?   7.03.2012, 21:40:32
- - seba199696   nom jak takie coś się robi?   7.03.2012, 21:41:43
- - PiotrekM   musisz mieć tablicę z modułami, jeżeli już masz to...   7.03.2012, 21:44:01


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: 27.09.2025 - 15:29