I am a website art, used to learn some ASP. Now the company's website is PHP, and now I want to modify some of the features of the site, but the code in the HTML really makes me wonder, never touched this type before. The code is as follows:
{{include file= ' header.html '}}
{{if $cat. parentid>0}}
{{ffcategory catid= $cat. ParentID To=cate}}
{{Else}}
{{ffcategory catid= $cat. CatID to=cate}}
{{/if}}
{{Ffposition}}
Area:
Default
Yongning District
Ching Xiu District
Xingning District
Liang Qing District
Xixiang Tong District
Jiangnan District
Wuming County
{{ffpagelist field= "Jiaoling,address,price1,price2" To= "DataList" order= "' sort ' asc, ' create_time ' desc '}}
- Under current conditions there is {{$datalist. Count}} to get a map of driving schools nearby >
{{ffpagelist pagesize=9 to= "Newsdata" field= "ZHICHI,RENSHU,TGL" order= "' sort ' asc, ' create_time ' desc '}}
{{foreach from= $newsdata. Info item=b Key=k}}
{{$b. Title}}
{{$b. Description}}
Support Campus
{{$b. Zhichi}} Home
Number of coaches
{{$b. Renshu}}} name
Pass Rate
{{$b. tgl}}%
{{/foreach}}
{{$newsdata. Pages}}
{{include file= ' footer.html '}}
I want to know where $b is defined in {{}}. How and where did it come from, the whole code was not accounted for?
Reply to discussion (solution)
This is a template file, the user will be accessed by the corresponding PHP file read this template file, the {{...}} Replace with the corresponding PHP statement
{{...}} Objects and variables in PHP are replaced by the objects and variables defined in the
This is a template file, the user will be accessed by the corresponding PHP file read this template file, the {{...}} Replace with the corresponding PHP statement
{{...}} Objects and variables in PHP are replaced by the objects and variables defined in the
Can you see where the corresponding PHP files are?
This is a template file, the user will be accessed by the corresponding PHP file read this template file, the {{...}} Replace with the corresponding PHP statement
{{...}} Objects and variables in PHP are replaced by the objects and variables defined in the
Can you see where the corresponding PHP files are?
It is not visible from the template file where the corresponding PHP file is.
Typically, PHP files with the same name or file name as the template file are in another directory.
You include in the template file
You know who used the template.
This is the code in PHP, I give you the mobile PHP zone
Search the entire project keyword with software, thank you