rendered paste body<?php
require_once('connect.php');
//individual lab totals
$result=mysql_query("select * FROM inventory ORDER BY lab_order")or die(mysql_error());
$percentage_paper = '65';
echo '<div style="width:500px; height:500px; padding:3px; border:2px solid #999; background:#e0dad8; ">';
while ($row = mysql_fetch_object($result))
{
echo '<div style="float: left; vertical-align: bottom; height:100%;">';
echo '<div style="vertical-align: bottom;; clear:top; clear:bottom; margin: 3px; width:10px; height:'.$percentage_paper.'%; background:#3eb33c;"></div><br/>';
echo '</div>';
}
echo '</div>';