Login   Register  
PHP Classes
elePHPant
Icontem

File: ex2.xtpl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of barnabás debreceni  >  XTemplate  >  ex2.xtpl  >  Download  
File: ex2.xtpl
Role: ???
Content type: text/plain
Description: template file for ex2.p
Class: XTemplate
Template engine for PHP
Author: By
Last change:
Date: 14 years ago
Size: 463 bytes
 

Contents

Class file image Download
<!-- BEGIN: main -->
<html>
<head><title>example 2</title></head>
<body>
you should see a table with multiple rows:<br>

<!-- BEGIN: table -->
<table border=1>
	<tr>
		<th>row nr.</th>
		<th>id</th>
		<th>name</th>
		<th>age</th>
	<!-- BEGIN: row -->
	<tr>  
		<td>{ROW_NR}</td>
		<td>{DATA.ID}</td>
		<td>{DATA.NAME}</td>
		<td>{DATA.AGE}</td>
	</tr>
	<!-- END: row -->

</table>
<!-- END: table -->

</body>
</html>
<!-- END: main -->