新人求解关于smarty中 include file的问题 改成{include file="head.tpl"}还是不行啊 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <?phprequire('Smarty.class.php');$smarty=new Smarty;$smarty->template_dir='./templates';$smarty->compile_dir='./templates_c';$smarty->config_dir='./configs';$smarty->cache_dir='./cache';$tpl = new Tpl("index.tpl")$tpl ->assign('title', 'welcome');$tpl ->assign('content', 'good luck all');$tpl->show();?> php查询显示条数 为什么我的本地环境不能解析子目录下的PHP文件 mysql 排序求助 一个留言本的问题,google好多次,找不到合适的答案 细节问题。unset()是否会释放内存。 关于文件上传的一个问题 请教如何用PHP接收表单复选框传递的值 帮忙解释下sprintf里的这些数据类型都表示什么类型 如何配置apache+mysql+php4.0 大家给我拿拿主意,讨论一下。参与者有分。。。 运行不了...只有30行代码...帮看一下... Post方法怎不能上传EXCEL文件,和大一点的文件?
require('Smarty.class.php');
$smarty=new Smarty;$smarty->template_dir='./templates';
$smarty->compile_dir='./templates_c';
$smarty->config_dir='./configs';
$smarty->cache_dir='./cache';$tpl = new Tpl("index.tpl")
$tpl ->assign('title', 'welcome');
$tpl ->assign('content', 'good luck all');
$tpl->show();
?>