The fetch method of smarty cannot use include. when I use the SMARTY template engine, I have made a good template. The template uses the include method of smarty to include files, however, it is not easy to parse the template using the fetch method and assign it to a variable. I want to save the obtained content as a file and cannot get the value now. in addition, the include part is output directly. I know that the include method can be replaced by the smarty variable, and the include method cannot be used for the smarty fetch method.
Guys, when I used the SMARTY template engine, I made a good template. The template uses the smarty include to include the file, but I used the fetch method to parse the template and assign it to a variable, not easy to use. I want to save the obtained content as a file and cannot get the value now. in addition, the include part is output directly.
I know that the include method can be replaced with the smarty variable, but this is not good.
Can I use the include method and fetdch for parsing?>
------ Solution --------------------
SMARTY again
I 'd like to see if I can get a satisfactory answer!
------ Solution --------------------
Upstairs, anyway, it's so urgent. I got it, huh, huh
------ Solution --------------------
Make sure that every year's boat, especially the code, has a single character missing.