Home > php教程 > php手册 > php 进度条实现代码

php 进度条实现代码

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 12:24:42
Original
1074 people have browsed it

复制代码 代码如下:

















php 进度条实现代码


0%



flush();
for($i=0;$i{
$width = $i * 4;
echo "<script>"; <BR>echo "percent_img.width=$width;"; //控制图片宽度 <BR>echo "percent_txt.innerHTML='$i%';"; //控制百分比显示 <BR>echo "</script>";
for($j=0;$j{
//为了演示进度条的效果,这里执行了一个空循环
}
flush();
}
?>
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template