Ask a simple PHP question. About the dynamic content of the page!
Dynamic settings are required here
- Dynamic settings are required here
Dynamic settings are required here
Dynamic settings are required here. dynamic settings are required here. dynamic settings are required here.
In the above section, the data obtained from the database needs to be recycled N times. Replace "dynamic settings here" with the value in the database.
How can I use PHP?
Include this section in Is html output with echo?
I think there should be a better way.
Please take care of the first time you use PHP.
Reply to discussion (solution)
You can use the template engine.
There is no better way to output html with echo.
Can't I do this without using the template engine?
What template engine is recommended for use?
Smarty
'1','b'=>'2','c'=>'3','d'=>'4','e'=>'5','f'=>'6'), array('a'=>'a','b'=>'b','c'=>'c','d'=>'d','e'=>'e','f'=>'f'),);for($i=0,$len=count($data);$i<$len;$i++){?>
>
>
Http://bbs.csdn.net/topics/391013945
Just now, a buddy's post directly took away more than the gourd pictorial. the specific details are Baidu.
>
>
Dynamic settings are required here. dynamic settings are required here. dynamic settings are required here.