another example

This commit is contained in:
pete_morgan
2006-03-04 15:10:13 +00:00
parent 0016c345dc
commit 07ca56f901

View File

@@ -62,6 +62,17 @@ The value of $name is Bob.
</screen>
</example>
<example>
<title>{assign} with some maths</title>
<para>This complex example must have the variables in backticks</para>
<programlisting>
<![CDATA[
{assign var=running_total value=`$running_total+$some_array[loop].some_value`}
]]>
</programlisting>
</example>
<example>
<title>Accessing {assign} variables from a PHP script.</title>
<para>