PHP 进度条函数的简单实例
其实进度条的做法很简单的。网上的一大堆,自己写了一个,哈哈,感觉看起来很有感觉。
实例代码:
function ShowPercent($now,$total)
{
$percent = sprintf(%.0f,$now*100/$total);
$html =
© 版权声明
文章版权归作者所有,未经允许请勿转载。
相关文章
暂无评论...
PHP 进度条函数的简单实例
其实进度条的做法很简单的。网上的一大堆,自己写了一个,哈哈,感觉看起来很有感觉。
实例代码:
function ShowPercent($now,$total)
{
$percent = sprintf(%.0f,$now*100/$total);
$html =