时间戳的转换 取样式的方法
时间戳的转换:
{php t.inputtime);}
<h1>{dr_date($inputtime,'d')}</h1>
<p>{dr_date($inputtime,'Y-m')}</p>
explode 定义和用法
explode() 函数把字符串打散为数组。
注释:“separator” 参数不能是空字符串。
注释:该函数是二进制安全的。
explode(separator,string,limit)