Jump to content

project management script


chriscloyd

Recommended Posts

not tested... but this should work...
[code]
<style>
table{border:black 1px solid;}
.finished{background:red;}
</style>
<?
$total=100;
$finished=21;

echo '<table><tr>';
for($i=0;$i<=$total;$i++){
if($finished>$i) echo '<td class=finished></td>'
else echo '<td class=unfinished></td>'
}
echo '</tr></table>';
?>
[/code]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.