Home  >  Article  >  Backend Development  >  smarty基础之拼接字符串的详解_php技巧

smarty基础之拼接字符串的详解_php技巧

WBOY
WBOYOriginal
2016-05-17 09:00:491009browse

困扰大家的smarty问题又出现了,就是拼接字符串,其实很简单的,在很久以前,我们都是用古老的方法,就是然后再来实现字符串的拼接,其实有一个简单好用的方法就是“|cat:”

   
          smarty基础之拼接字符串的详解_php技巧
   

就这样,简单好用,不过有的时候还是要用到方法,具体问题具体分析吧

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn