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.