Flush() not working in drupal

Posted by fawad on Stack Overflow See other posts from Stack Overflow or by fawad
Published on 2011-01-08T11:41:38Z Indexed on 2011/01/08 11:54 UTC
Read the original article Hit count: 198

Filed under:
|

I'm trying to post data from one node to another. The other node contains the for loop which iterates for long time and finally generates the table. I want to display the result after each iteration. I have tried to put "flush();" but it is not working. What should i do to display each iteration result on the node page?

Note: If i do it with ob_flush() it works but it then starts printing data above the header which is not suitable. I want all the data inside the node.

© Stack Overflow or respective owner

Related posts about php

Related posts about drupal