fixed examples

This commit is contained in:
messju
2005-06-24 09:02:01 +00:00
parent 4fb8e2d9f2
commit 25ec77ca15

View File

@@ -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 />
@@ -332,7 +331,7 @@ $smarty->assign('contacts',$data);
?> ?>
]]> ]]>
</programlisting> </programlisting>
<programlisting> <programlisting>
<![CDATA[ <![CDATA[