Heim >Backend-Entwicklung >PHP-Tutorial > smarty的section能强制结束循环的字段,该如何解决

smarty的section能强制结束循环的字段,该如何解决

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 12:55:53845Durchsuche

smarty的section能强制结束循环的字段
smarty的section能强制结束循环的字段是什么?

------解决方案--------------------
smarty 3 中肯定是可以的!

{break}
被翻译成

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn