Are you outputing each row in a table?
IE won't start displaying the table until the </table> tag, that might be
causing your problem...

----- Original Message -----
From: "Jock Pereira" <[EMAIL PROTECTED]>
Sent: Wednesday, November 20, 2002 1:28 PM
Subject: [PHP] flush() issue

Having an issue getting flush to work. Browser version is IE 6 sp1.  I am
not using mod_gzip on Apache. In the following code sample you can see that
I am looping through a mysql result array and using a different include each
time. At the end of the foreach loop I am attempting to flush to the
browser. I am taking into consideration the buffer size that must be met for
flush to work (str_pad) and all other considerations I came across in the
php manual...

Despite the below my browser does not show results until the entire script
has completed (~10 minutes). Any idea on how I can get this to work?
Anything to take into consideration that I am not... considering... below?


Jock Pereira
_____________ Code_Sample_Below______________________________

$result = mysql_query("SELECT * FROM DEALER_Inventory WHERE DealerID =
'$this_dealer' AND Car_Type != 'new'");

    foreach ($themalls as $thismall)


     logExportResults("$this_dealer", "$thismall", "Exporting...");
     Print ("<br><strong><font size=\"2\" face=\"Arial, Helvetica,
sans-serif\">&nbsp;&nbsp;$this_dealer: Sending to

     logExportResults("$this_dealer", "$thismall", "Export Done...");

     echo str_pad(" ", 300);

_______________ End_Code_Sample______________________________

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to