$smarty->display('index2.tpl');
来源:互联网 发布:新浪网络经纪人 编辑:程序博客网 时间:2024/05/01 07:00
<HTML>
<HEAD>
<TITLE>index2.tpl</TITLE>
</HEAD>
<BODY bgcolor="#ffffff">
An example:<br>
phone: {$contacts.phone}
<br>
fax: {$contacts.fax}
<br>
cell: {$contacts.cell}
<br>
<p>
</body>
<HEAD>
<TITLE>index2.tpl</TITLE>
</HEAD>
<BODY bgcolor="#ffffff">
An example:<br>
phone: {$contacts.phone}
<br>
fax: {$contacts.fax}
<br>
cell: {$contacts.cell}
<br>
<p>
</body>
</html>
=========================================
<?php
/**
* Example Application
*
* @package Example-application
*/
require '../libs/Smarty.class.php';
$smarty = new Smarty;
$smarty->assign("contacts", array("phone" => "1", "fax" => "2", "cell" => "3"));
$smarty->display('index2.tpl');
0 0
- $smarty->display('index2.tpl');
- 使用Dreamweaver编辑Smarty tpl模板文件
- Smarty缓存机制 $smarty->display(
- TPL
- Smarty: Unable to load template file 'login.tpl'
- smarty fetch与display的区别
- smarty 在linux 下display 显示空白
- smarty - display和fetch的区别
- smarty中display和fetch的区别
- Zend Studio For Eclipse 6.0.1 不能编辑smarty的tpl文件问题的解决
- Smarty模版引擎 获取各种数据分配给tpl模版文件
- 关于smarty模板display函数的$compile_id 参数的意义
- TPL脚本语言
- TPL dataflow
- .tpl模板
- tpl 文件
- Smarty
- Smarty
- N!末尾有多少个0?
- 5-31 字符串循环左移
- VS2013 EF6连接MySql需要几步?
- B-Cracking the Code
- java在定义的时候初始化和在构造器中初始化有何差异
- $smarty->display('index2.tpl');
- 利用HTML5新特性localstorage把用户数据暂时存储在客户端,用于之后上传
- 聊天
- web前端2016-3-5
- 世界末日
- iOS--链式编程
- 移动文件导致报错
- Activity的生命周期(四)——多个Activity相互交互的生命周期
- 【周练3016.3.5】老王修马路(一)(水)