PHP infinite loop to obtain data (or message) information

Source: Internet
Author: User
PHP infinite loop to get data (or message) information I php basically do not know much about, because the project needs, I need to write JSP instant chat system embedded in PHP.
The only question left now is how to obtain the data information in the framework (because the customer service may ask for the invitation chat information to pop up at any time, the cycle or message must be invalid ), I would like to ask if PHP has infinite loop acquisition and the interface won't be stuck in the main usage (or you can get data once every other period of time)


Reply to discussion (solution)

Jquery

OK, thank you. I just found a small example of jquery loop. it's pretty good. it should be usable.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.