PHP Classes

File: templates/show_variable.php

Recommend this page to a friend!
  Classes of Costin Trifan   AbsTemplate   templates/show_variable.php   Download  
File: templates/show_variable.php
Role: Application script
Content type: text/plain
Description: The template file displaying a variable set in the parent file.
Class: AbsTemplate
Template engine based PHP script templates
Author: By
Last change:
Date: 15 years ago
Size: 178 bytes
 

Contents

Class file image Download
<p> <strong> {title} </strong> </p>

<p>
<?php
   
global $tpl;

   
$array = $tpl->getVar('array');

    foreach(
$array as $a)
        echo
'<strong>'.$a.'</strong><br/>';

?>
</p>