Home  >  Article  >  Backend Development  >  PHP 无限循环获取数据(或消息)信息

PHP 无限循环获取数据(或消息)信息

WBOY
WBOYOriginal
2016-06-23 14:24:431099browse

我PHP基本不怎么了解,因为项目需要,我需要把JSP写的即时聊天系统嵌入到PHP中。
现在唯一剩下的问题是如何获取框架中的数据信息(因为客服随时会要求弹出邀请聊天信息,所以需要无效循环或者消息),想问下PHP有没有无限循环获取并且界面不会卡主的用法(或者其他每个一段时间获取一次数据也可以)


回复讨论(解决方案)

jquery

OK,谢谢,刚找到了jquery循环的小例子,挺不错,应该可以用

Statement:
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