Hi, I have this problem. My code is <?php require_once('template.php'); $template->set_filenames(array( "get" => "get.tpl" )); function write_link($url,$img){ $url=rtrim($url); $template->assign_vars(array( "IMG" => "$img", "URL" => "$url" )); } $template->pparse('get'); ?> PHP: (The unusable part of the code was deleted) But it gaves error. I have the file get.tpl . I'm using script like this on another page and it's running. P.S. Sorry for my bad English
Can you paste template.php? Where is your declaration: $template = New SOME_TEMPLATE_ENGINE; PHP: ? Jay