1
I'm sure this is a simple thing but my brain must be tired.
I have some db queries I put in the TinyD module as PHP scripts. The scripts work great but now I'd like to cycle the row colors like many blocks do.
Instead of a simple
<tr>
I'd like to do something like:
<tr class="<{cycle values="even,odd"}>">
In other words I have a line like:
echo "<tr>";
but I'd like to use the cycle function in the tr.
I need to use PHP as the code type because of all the db queries (that part works fine).