Home > Article > Backend Development > php Smarty First Experience 2 Obtaining Configuration Information_PHP Tutorial
Let’s look at the results first——
The page source code is as follows:
Analyze the code. After checking the index_config.php (Smarty connection file) and index.php files, there are no errors. Let’s focus on the template file. The possible reason lies in this tpl file. Here is the code——