Login   Register  
PHP Classes
elePHPant
Icontem

File: templates/show_variable.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 5 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>