I have a query about implementing a progress bar. Despite reviewing numerous discussions here, I haven't been able to successfully adapt any of the solutions for my specific situation. I am currently displaying numbers like 50/500, where 50 represents the actual number and 500 is the maximum.
$SQL = "SELECT * FROM db_ships WHERE ship_id = $user[ship_id] LIMIT 1";
$result = mysql_query($SQL);
while ($db_field = mysql_fetch_assoc($result)) {
print $db_field['shields'] . " / ";
print $db_field['max_shields'] . "";
The majority of progress bars I've encountered showcase time periods, but in my case, I need to visually represent the fraction
print $db_field['shields'] . " / ";
print $db_field['max_shields'] . "";
How can I integrate this information to display a progress bar illustrating the advancement? My CSS skills are lacking, so any assistance would be greatly appreciated.