You are here: flush not working in IE « PHP Programming Language « IT news, forums, messages
flush not working in IE

Posted by Tony on 10/16/22 11:19

OK - let's get the IE bashing out of the way...
<space provided to bash IE>



</space>

On to the problem:

I have a query that I'm running on a test server that takes awhile to
complete. I would like to have it output the data one row at a time, as the
query is processed.

To this end, I have basically the loop:

while ($row=mysql_fetch_row($result)) {
// output one row of a table
flush();
}

I have also tried ob_flush(), to no avail, and ob_implicit_flush() as well.

This works fine in Firefox, but not IE. I realize this is browser-related,
but I'm wondering if there is any workaround?

One thought just occurred to me: might it be because I'm outputting a table?
Is IE wafting for the table to close before accepting the flush?

Thanks!

--
Tony Garcia
Web Right! Development
tony.NO@webrightdevelopment.SPAM.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация