为了账号安全,请及时绑定邮箱和手机立即绑定

left_delimiter = "{"; $smarty->right_delimiter = "}"; $smarty->template_dir = "tpl"; $smarty->compile_dir = "template_c"; $smarty->cache_dir = "cache"; $smarty->assig('articletitle', '文章标题'); $smarty->display('test.tpl'); ?>

http://img1.sycdn.imooc.com//56e0cd6b0001f02a06280521.jpghttp://img1.sycdn.imooc.com//56e0cda90001d66808850298.jpghttp://img1.sycdn.imooc.com//56e0cdda0001703f09181048.jpg不知道哪里有问题

正在回答

1 回答

$smarty->assig改成$smarty->assign,如果你的apache可以用,为什么不直接localhost进入

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

left_delimiter = "{"; $smarty->right_delimiter = "}"; $smarty->template_dir = "tpl"; $smarty->compile_dir = "template_c"; $smarty->cache_dir = "cache"; $smarty->assig('articletitle', '文章标题'); $smarty->display('test.tpl'); ?>

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信