string(21) "20131105155309001.jpg"  } &nb"/>  string(21) "20131105155309001.jpg"  } &nb">

Home >Backend Development >PHP Tutorial >ThinkPHP模板赋值解决思路

ThinkPHP模板赋值解决思路

WBOY
WBOYOriginal
2016-06-13 11:40:42764browse

ThinkPHP模板赋值
array{
  [1] => array(1) {
    ["content"] => string(21) "20131105155309001.jpg"
  }
  [2] => array(1) {
    ["content"] => string(4) "图片"
  }
  [3] => array(1) {
    ["content"] => string(21) "20131105155309002.jpg"
  }
  [4] => array(1) {
    ["content"] => string(4) "图片"
  }
}

这样的一个数组赋值到模板,怎么把图片和文字输出?新手提问。
我要做的效果是
20131105155309001.jpg
图片
20131105155309002.jpg
图片

thinkphp
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