新人求解关于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();?> 我的oop错在哪里?是静态变量的问题吗? PHP里面的设置问题! 网站内部搜索引擎 深圳,对PHP非常熟悉,熟悉通达OA平台的PHPer 想用php做一个树状的目录,具有超级连接的功能。 能用SQl语句解决这个问题吗? PHP 数组比较合并,求效率 请问这个网站的跳转方式? 怎么屏蔽地址栏上出现的表单密码? php问题 运行不了...只有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();
?>