MAM SOBIE TAKI KOD KTÓRY DZIAŁA BO NAPISANY Z MYSŁA DO WYŚWIETLANIA TYLKO JEDNEGO KOMPLETU INFORMACJI
<?php $zapytanie = 'SELECT * FROM `forum_fora` '; include ('dane.inc'); } } 'TYTUL' => $wiersze['ftytul'], 'PODTYTUL' => $wiersze["fpodtytul"]); $tpl = new Chameleon; $tpl -> load('forum.tpl'); $tpl -> setVar('FORUM',$dforum); $tpl -> display(); ?>
A TEN JUŻ NIE CHCE DZIAŁAĆ - DLA WIELU
<?php $zapytanie = 'SELECT * FROM `forum_fora` '; include ('dane.inc'); } } 'TYTUL' => $wiersze['ftytul'], 'PODTYTUL' => $wiersze["fpodtytul"]); } $tpl = new Chameleon; $tpl -> load('forum.tpl'); $tpl -> setVar('FORUM',$dforum); $tpl -> display(); ?>
a oto i template dla nich
z góry dzięki