Regarding the problems encountered in chain operations, please give examples.
2018-12-18 09:27:07
0
4
1377
  1. The article list uses chain operations to associate the user table and article table

  2. 用 volist 循环这条数据 当点这条数据跳到详情页面并传一个ID
  3. 自己发现几个问题 :1.链式获取的数据时间不能自动转换  2.链式操作如何

    Only one piece of data is obtained (ID ) 3. Regarding the writing method of chain where (when the ID of the details page = the same as the obtained ID, the PV traffic will automatically be 1)

  4. Let’s look at the code I wrote: please ask the teacher to guide me and write Here’s a case. Thank you teacher

聊表.png列表.png链式操作.png链式操作2.png

#

reply all(2)
西门大官人

Please finish the basic course of thinkphp first. These issues are covered in the course

  • reply In the past few months, I just watched videos and never learned the basics.
    author 2018-12-18 10:50:42
韦小宝

Time can be converted in the template! For example: {$vo.create_time|date="Y-m-d H:i:s"}, the connection in the a tag can be spliced!

  • reply Thank you, teacher. I know how to do this. Teacher Ximen said not to convert automatically.
    author 2018-12-18 10:49:21
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template