/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// Usage progress($currentPostion,$totalResults); function progress($current,$total,$label = "") { if($current == 0) { if($label == "") { echo "Progress: "; }else{ echo $label; } }else{ echo $current . " of " . $total; $totalBackspaces = 4; for($i=1;$i <= $totalBackspaces;$i++) { echo "\010"; } } }
Comments
