php show percentage instead of number code example
Example: php calculate percentage
$percentage = 50;
$totalWidth = 350;
$new_width = ($percentage / 100) * $totalWidth;
$percentage = 50;
$totalWidth = 350;
$new_width = ($percentage / 100) * $totalWidth;