PHP 进度条函数的简单实例
实例代码:
function ShowPercent($now,$total)
{
$percent = sprintf('%.0f',$now*100/$total);
$html = '| '; $count++; if($count%$pertr == 0) $html .= ' |
| '.$percent.'% |
效果截图: 100%的时候。


上一篇:使用modal弹出一个模态框
下一篇:PHP文件系统管理的示例分析