I`m a newbie in programming php, so please help me
even my question may be very stupid :)
I`d like to use the templates from the phplib for my
webpage. I understood the example in the manual, so my
test page runs. But my problem is, that I defined the
title and the content once in an array. But if the
user will see another content, I have to redefine the
content and the title (in effect, I have to redefine
$t->set_var(array("Title" => "Dies ist der Titel der
Page", "BodyContend" => "Dies ist der Body
Inhalt."));). But how can I implement this?
I`d like a solution with several files wich contens
the title and the content for each page.
How can I do that?
PS: Please excuse my bad english, I normaly talk
Log in to post a comment.