[PHPTAL] assigned fields

2008-10-08 Thread admi
Hello! This is example code: $t = new Tal(); $t->title = "TitleTest"; $t->content = "ContentText"; $t->setTemplate("content.html"); $t->execute(); //here $t->content should be unset $t->setTemplate("title.html"); $t->execute(); //I'd like to have only $t->title I'd like to delete/unset fields t

Re: [PHPTAL] assigned fields

2008-10-08 Thread Kornel Lesiński
On 08-10-2008 at 15:57:51 admi <[EMAIL PROTECTED]> wrote: This is example code: $t = new Tal(); $t->title = "TitleTest"; $t->content = "ContentText"; $t->setTemplate("content.html"); $t->execute(); //here $t->content should be unset $t->setTemplate("title.html"); $t->execute(); //I'd like to h

[PHPTAL] php array -> TAL path:

2008-10-08 Thread Axel Zöllich
Bonsoir, this php abc.php: $ergebnis = $mysqli->query("SELECT * FROM farbe"); while ($zeile = $ergebnis->fetch_object()) { $typen[farben][][kuerzel] = $zeile->kuerzel; $typen[farben][][bez] = $zeile->bez; } and html abc.html: Farben Weiß! throws exception 'PHPTAL_Exception' wit