View Single Post
Old 01-30-2007, 11:44 AM  
scouser
marketer.
 
Industry Role:
Join Date: Aug 2006
Location: bcn
Posts: 2,280
Like

POST 1
POST 2
And (as an example) POST 1 has black background, POST 2 has red back ground?

I am sure there is a better way, and i haven't tested it, but you could try this:

<table style="background:<?php
if ($currentbg == "#000000")
$currentbg = "yellow";
else {
$currentbg = "#000000"
}
echo $currentbg;
?>">POST</table>


And it would kind of do it for you. Sorry if it doesn't make sense. been up for about 27 hours so far...
scouser is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote