Home >Backend Development >PHP Tutorial >PHP smarty--smarty basics
1. The first letter of the first sentence should be capitalized:
2. The second sentence template variable + Li Xiaojun:
3 . The third sentence outputs the current date:
4. The fourth sentence. The php program does not process it, it displays the default value: < ;{$str4|default:"No value!"}>
5. The fifth sentence should be indented by 8 blank characters, and use "*" to replace these 8 blank characters:
6. The sixth sentence changes all TEACHerLI@163.com to lowercase:
7. The seventh sentence The eighth sentence is to use variable modifiers in combination: