mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 11:54:26 +02:00
fixed examples
This commit is contained in:
@@ -112,7 +112,7 @@ $smarty->assign('custid',$data);
|
|||||||
<hr />
|
<hr />
|
||||||
{* print out all the values of the $custid array reversed *}
|
{* print out all the values of the $custid array reversed *}
|
||||||
{section name=foo loop=$custid step=-1}
|
{section name=foo loop=$custid step=-1}
|
||||||
{$custid[foo]}
|
{$custid[foo]}<br />
|
||||||
{/section}
|
{/section}
|
||||||
]]>
|
]]>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
@@ -304,7 +304,6 @@ $smarty->assign('contact_info', $info);
|
|||||||
address: 417 Mulberry ln<br />
|
address: 417 Mulberry ln<br />
|
||||||
home phone: 123-456-4<br />
|
home phone: 123-456-4<br />
|
||||||
web: www.example.com<br />
|
web: www.example.com<br />
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
id: 1002<br />
|
id: 1002<br />
|
||||||
name: Jane Munson<br />
|
name: Jane Munson<br />
|
||||||
|
Reference in New Issue
Block a user