Dede: a php-related question.

Source: Internet
Author: User
Dream Weaving label dede: a php problem. if you know the dream, do not know how to use the dede: php label! Multi-level column nesting. Directly query the database and directly nest dede: php directly writes SQL statements to cycle the topic title, and I am a multi-level nesting. how can I obtain variables such as the upper-layer ID when writing SQL statements ?, The core file is the inclu dream tag dede: a problem with php.
I don't know how to use the dede: php label! Multi-level column nesting. Directly query the database and Display nested data
Dede: php directly writes SQL statements to cycle the topic title, and I am a multi-level nesting. how can I obtain the upper layer when writing SQL statements?
And so on?

------ Solution --------------------
The core file is include/dedetemplate. class. php.
------ Solution --------------------
{Dede: channelartlist type = "top" row = "10 "}
  • {Dede: field name = "typename "/}

    {Dede: channel type = "son" noself = "yes" row = "4 "}
  • [Field: typename/]


  • {/Dede: channel}
    {/Dede: channelartlist}

    In this way, you can perform level-2 interaction without knowing whether it is the effect you want.
    ------ Solution --------------------
    No more php SQL statements.

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.