Leased Ali server, the original can achieve the first select output and then execute the second select, after upgrading the server, now is all select to execute the unified query, so feel a bit of suspended animation state, how to achieve the original side execution side output Ah, I'm using PHP5.2. Is there a problem with the version?
------to solve the idea----------------------
Maybe it's your previous configuration problem!
The general configuration is to wait for the page to finish running and then output, not finished output, saved in the buffer.
If you want to wait until you're done, you'll see the output can take out the contents of the buffer first.
Ob_flush;flush ();
------to solve the idea----------------------
Ob_flush (); flush ();
------to solve the idea----------------------
At least the code you put out will not have the effect you describe (in any event, unless you hide something)
Force-Eject server-side buffering (Ob_flush, flush) is only valid for some servers and is browser-related
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.