"Zero credit card balance", 'goal' => 3500, 'actual' => 100), array('resolution' => "One entry per week", 'goal' => 52, 'actual' => 1), array('resolution' => "One letter per month", 'goal' => 12, 'actual' => 0), array('resolution' => "Two new CDs per month", 'goal' => 24, 'actual' => 0), array('resolution' => "Leave the state five times", 'goal' => 5, 'actual' => 0), array('resolution' => "Spend eight days in Paris", 'goal' => 8, 'actual' => 0), array('resolution' => "Read 13 books", 'goal' => 13, 'actual' => 0), array('resolution' => "Prepare 21 meals per month", 'goal' => 252, 'actual' => 7), array('resolution' => "Post 34 minutes of A/V content", 'goal' => 34, 'actual' => 0) ); for ($i = 0; $i < 9; $i++) { print "

" . $resolutions[$i]['resolution'] . "
"; $brown = $resolutions[$i]['actual'] / $resolutions[$i]['goal'] * 300; $gray = 300 - $brown; print "

"; } ?>