高手进来看看 我的Smarty模板安装不上啊 smarty模板放在我的电脑 D:\AppServ\www\test\Smarty\libs\Smarty_class.php
这是我写的:
一、D:\AppServ\www\test\Smarty\Smarty_2.php:
<?php
require("/libs/Smarty.class.php");
$smarty = new Smarty;
$smarty->assign("title","snow expected in northeast");
$smarty->assign("rest","holle word!");
$smarty->display("article.html");
?>二、D:\AppServ\www\test\Smarty\templates\article.html:
<html>
<head>
<title>{$title}</title>
</head>
<body>
<ul>
<li>{$rest}</li>
<li>{$rest}</li>
<li>{$rest}</li>
<li>{$rest}</li>
</ul>
</body>
</html>
会的给看看 究竟是怎么回事 访问article.html时候 出现的是以下情况
。{$rest}
。{$rest}
。{$rest}
。{$rest}
这是我写的:
一、D:\AppServ\www\test\Smarty\Smarty_2.php:
<?php
require("/libs/Smarty.class.php");
$smarty = new Smarty;
$smarty->assign("title","snow expected in northeast");
$smarty->assign("rest","holle word!");
$smarty->display("article.html");
?>二、D:\AppServ\www\test\Smarty\templates\article.html:
<html>
<head>
<title>{$title}</title>
</head>
<body>
<ul>
<li>{$rest}</li>
<li>{$rest}</li>
<li>{$rest}</li>
<li>{$rest}</li>
</ul>
</body>
</html>
会的给看看 究竟是怎么回事 访问article.html时候 出现的是以下情况
。{$rest}
。{$rest}
。{$rest}
。{$rest}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货