I have a progress_profile field where I enter values from 1 to 100 in mysql,
$progress = $row['progress_profile'];
in the bootstrap-bar code I put this code
<p class="bioheading">Profile Completed Progess</p>
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: <?php echo $progress; ?>%;"><?php echo $progress . '% Profile Completed'; ?>
</div>
</div>
I would like based on the values entered in progress_profile, change the color of the bar
example"
from 1 to 49 red color
from 50 to 90 blue color
from 91 to 100 green color
Thank you