MyBB Community Forums

Full Version: Alternating trows?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So, my other admin and I are working on a custom plugin together. However, I'm having trouble making the trows alternate. It's going to have new content all the time, so I can't manually create trow1 and trow2 over and over. I'd like some help on this; it could be a site-changing mod.
Use alt_trow() to calculate trow1 and trow2
You mean store it in a variable like so ? Then use it in your html source ?

$alttrow = alt_trow();