哪位大神帮我看看
IndexController.class.php的代码如下:
<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {
public function index(){s
$this->display('index');
$arr='china';
$this->assign('me',$arr);
}
}
View/index/index.html代码如下:
<body>
hello
{$me}
</body>
为何最后总是只输出hello呢?$me无法输出,,