Login   Register  
PHP Classes
elePHPant
Icontem

File: templates/LINEWRITER.html

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jose Maria Rodriguez Millan  >  Siviglia Templating  >  templates/LINEWRITER.html  >  Download  
File: templates/LINEWRITER.html
Role: Example script
Content type: text/plain
Description: sample template
Class: Siviglia Templating
Template engine that uses PHP as template language
Author: By
Last change:
Date: 4 years ago
Size: 333 bytes
 

Contents

Class file image Download
<!-- TEST 1 : Using a plain number as parameter -->
    
[_LINEWRITER][_NUMBER]5[/NUMBER][/LINEWRITER]


<!-- TEST 2 : Using a php variable as parameter -->
<?php $c=3;?>
[_LINEWRITER][_NUMBER]$c[/NUMBER][/LINEWRITER]

<!--TEST 3 : Using "echo" as parameter -->
[_LINEWRITER][_NUMBER]<?php echo $c?>[/NUMBER][/LINEWRITER]