I have a php variable that contains a value of used diskspace available in a folder.
$UsedSpace = $total/20000000*100;
Now i want to use the value of $UsedSpace for a status bar like this: http://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_progressbar_2
So the width: 1%; in this example should now contain the value of the variable. How can i achieve this?