Progress __ days
10-01-2006 10-20-2006
$prgrss =  original number of days total (difference between $dtnum and $due,   entered in DB) $prgdiff = find the difference between current date and $due $daysto = $prgrss - $prgdiff; (compare $prgrss and $prgdiff to get percentage) $prgper = $prgdiff  /  $prgrss;  // (2 digit decimal) percentage displays as: width of green bar $grbar = 300 * $prgper;  (no decimal) round Check if on schedule >>> When they change the days to - Enter the number of days to continue. $prgrss + new number = new prgrss dueup prggreen.gif