Individual classes on PHP rows
<p>I have the following thats within a loop...</p>

<pre><code> echo "&lt;span class='srch-val'&gt;".apply_filters(" $value\n", $value)."&lt;/span&gt;";
</code></pre>

<p>I want to somehow add a number or something after the class 'srch-val-1' without using jQuery, is this possible using PHP? If so where can I find out how to do this? thanks </p>

<p>Its currently within a foreach() loop...</p>

<pre><code> foreach ( (array) $keys as $key ) { //Stuff }
</code></pre>
