/*============================================================================*/
/* [PERCENT GRAYSCALE COLOUR CHART] */
$pidCount = 0;
for ($percent=100;$percent>-1;$percent-=1) {
$newRow_A = substr ($percent,0,1);
$newRow_B = substr ($percent,1,1);
$outputData = "
{$percent}% | \n";
if ($percent > 99) { echo ("\n{$outputData}"); }
else if ($percent < 1) { echo ("\n
\n{$outputData}
"); }
else if (($newRow_B == 0)&&($percent >= 10)) { echo ("\n{$outputData}"); }
else { echo ($outputData); }
} // [/ENDFOR]
unset ($pidCount,$percent);
/* [/PERCENT GRAYSCALE COLOUR CHART] */
/*============================================================================*/
?>