if ($total>0)
$percentage = $db['nBytes']/$total;
else $percentage = 0;
- echo printBar($percentage, $db['Name'], str_replace(' ', ' ', sprintSize($db['nBytes'])));
+ echo printBar($percentage, htmlentities($db['Name']), str_replace(' ', ' ', sprintSize($db['nBytes'])));
echo '</td><td>';
echo '<input type="submit" name="dropask[',htmlentities($db['Name']),']" value="drop">';
echo '</td></tr>';