search

Home  >  Q&A  >  body text

Regarding the problems encountered in chain operations, please give examples.

  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

#
2199 days ago1386

reply all(4)I'll reply

  • 西门大官人

    西门大官人2018-12-18 09:39:51

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

    reply
    0
  • In the past few months, I just watched videos and never learned the basics.

    · 2018-12-18 10:50:42
  • 韦小宝

    韦小宝2018-12-18 09:34:38

    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
    0
  • Thank you, teacher. I know how to do this. Teacher Ximen said not to convert automatically.

    · 2018-12-18 10:49:21
  • Cancelreply