lower [小写]

lower [小写] 

test.php:
$smarty = new Smarty;
$smarty->assign('articleTitle', 'Two Convicts Evade Noose, Jury Hung.');
$smarty->display('test.html');


test.html:
{$articleTitle}
{$articleTitle|lower}

输出:
Two Convicts Evade Noose, Jury Hung.
two convicts evade noose, jury hung.

继续学习
||
<?php echo "lower [小写] ";
提交重置代码
  • 推荐课程
  • 评论
  • 问答
  • 笔记
  • 课件下载
课件暂不提供下载,工作人员正在整理中,后期请多关注该课程~
第七期线上培训班