Smarty variable regulator failure solution, smarty variable regulator. Smarty variable regulator failure solution, smarty variable regulator Smarty variable regulator is a good thing, it has been used smoothly, the solution to the failure of the Smarty variable regulator can be found when the variable regulator was used yesterday.
Smarty's variable regulator is a good thing, and it has always been easy to use. However, it was discovered that it did not work when I used the variable regulator yesterday.
The code is as follows:
{$ Name | upper}
I carefully read the manual, read the smarty loading path, and checked it up and down for nearly an hour without finding the problem. The code will be deleted and re-written into a helpless dilemma.
The code is as follows:
{$ Name | upper}
The result is good. It turns out that the variable must be directly followed by a vertical line, function name, and no space in the middle. Otherwise, the function of the variable regulator will become invalid. After a long time, it turned out to be caused by a space. it's not worth it !!!
It seems that the smarty program will be called later. pay attention to the space issue ~, Other problems may also be caused by spaces, which are the least likely to be discovered.
Question about variables defined by smarty
There is no difference between the two
Php + smarty development and my younger brother are new to you. QQ 544630057 is in urgent need of help from you.
It's easy. you can see the Smary template manual!
Gong Smarty's variable regulator is a good thing, and it has always been easy to use. it can be found yesterday when I used the variable regulator...