Smarty template smarty Simple template variable Output method original

Source: Internet
Author: User
Tags smarty template
This paper briefly describes the Smarty template variable output method. Share to everyone for your reference, as follows:

The config.inc.php configuration file is as follows:

Include_once (' smarty/smarty.class.php '); $smarty =new smarty (); $smarty->c>
Include ('./config.inc.php '); $title = "php test title"; $c >
Test array: Title | name | The Age--------------------------------------------------------------------------------test content is: Smarty practice! Circular News content: PHP program test-2015-08-01php Video Tutorial-2015-08-02smarty study-2015-08-03

It is hoped that this article will be helpful to everyone based on smarty template PHP program design.

The above describes the Smarty template smarty Simple template variable output method original, including the content of the Smarty template, I hope that the PHP tutorial interested in a friend helpful.

  • Related Article

    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.