Rumah >pembangunan bahagian belakang >tutorial php >smarty?截取字符串,该如何解决
smarty?截取字符串
<br /><{section name=s loop=$eventinfo}><br /><{$eventinfo[s].start_mm}> (October )<br />//怎么获取$eventinfo[s].start_mm 的前三个字母 (Oct)<br /><{/section}><br />