Issues related to Smarty and IFRAME

Source: Internet
Author: User
Problems with Smarty and IFRAME
/* 1.html */






/* 2.php */
/* Config file for Smarty */
Include (".. /chajian/smarty/smarty_config.php ");
$a = "PHP learning";
$smarty->assign (' A ', $a);
$smarty->display (' 2.html ');
?>

/* 2.html */


<{$a}>





But the result is not the result I want ()

How to change it?? Prawn please advise.
------Solution--------------------
Your 2.php is not running. From your point of view, you just access the HTML file, and not through the local server access, you need to configure the environment.
------Solution--------------------
LZ, since the fix, you want to knot and give the family.
------Solution--------------------
Oh, JF.
------Solution--------------------
Problem solved did not give knot paste!!!
------Solution--------------------
There is a problem with the template configuration.
------Solution--------------------
The novice does not knot the paste also is very normal ....
------Solution--------------------
Run through the Localhost,web server, look at the graph you are directly double-click the file to run, how can execute PHP program.
  • 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.