Home > Backend Development > PHP Tutorial > html - php脚本执行问题研究

html - php脚本执行问题研究

WBOY
Release: 2016-06-06 20:13:25
Original
979 people have browsed it

<code><?php for($i=0;$i<100;$i++){
        echo $i;
    }
?>
</code>
Copy after login
Copy after login

在HTML文件中用ajax接收数据,是不断的接收到0,1,2,3,4,5....

还是一次性接收到12345....

回复内容:

<code><?php for($i=0;$i<100;$i++){
        echo $i;
    }
?>
</code>
Copy after login
Copy after login

在HTML文件中用ajax接收数据,是不断的接收到0,1,2,3,4,5....

还是一次性接收到12345....

一次性接受到所有的输出,除非你用socket。。

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template