In php, templates can be used for style templates or text templates on websites. why is the form of {} in php? I don't really understand... ------ solution -------------------- This can be defined by myself, just to distinguish it from html labels. I personally think this is the case. what about the Downstairs view? ------ Solution ------------------ top ------ solution ----- use the template in php
You can use style templates or text templates on the website ..
Why is it in the form of {} in php?
Not very understandable ....
------ Solution --------------------
This can be defined by myself, just to distinguish it from html tags. I think it is like this,
What about the downstairs opinion?
------ Solution --------------------
Top one
------ Solution --------------------
PHP template process
1. define the PHP changes in the html file (for example {}, , Etc)
2. use php scripts to retrieve html files
3. use PHP to change the actual variable quantity to the custom variable quantity in html. you can use the regular expression table.
4. Complete
------ Solution --------------------
It is mainly used to give a replacement sign.