有沒有大佬遇到這個(gè)
<h1>這是文件?view/index/index.html</h1>
<h2>{$email}:{$email|md5}</h2>
<h2>{$email}:{$email|substr=0,8}</h2>
<h2>{$time}:{$time|date="Y-m-d",####}</h2>
substr($obj,0,3);
md5($obj)
<h1>這是文件?view/index/index.html</h1>
<h2>{$email}:{$email|md5}</h2>
<h2>{$email}:{$email|substr=0,8}</h2>
<h2>{$time}:{$time|date="Y-m-d",####}</h2>
substr($obj,0,3);
md5($obj)
2019-05-23
舉報(bào)
2019-05-23
以解決 粗心了
$this->assign('time','time()');?‘time()_’方法要去掉單引號(hào)