How to echo out sequential numbers?
<p>what I have is a number of various places in a class that calls out a number depending on a total number given and I would like to echo out that number. So for example:</p>

<p>Total count may be 4.</p>

<p>here is what may output: </p>

<pre><code>echo "Layer-1" and "Color-1";
</code></pre>

<p>some additional coding... then call the same number again elsewhere in the code</p>

<pre><code>echo "Placement-1";
</code></pre>

<p>some more coding... blah, blah</p>

<pre><code>echo "FinalArt-1";
</code></pre>

<p>Then the loop starts again, only instead of -1 it is -2, and -3 and so on until the final number, in this case 4 has been satisfied.</p>

<p>Can anyone help on this? Newbie, in the house :/</p>
