php pages only displayed when fully generated

When I rewrote html pages for php they don’t print line by line as sql queries are completed, but only when all the queries are done.

I don’t recall this happening when I made php pages before.

Everything works fine, except I would prefer to be able to see each of the queries as they complete. I noted this happens without having any MySQL queries as well.

Oh, I wonder if it has anything to do with it being a POST form. I’ve not included any code as I don’t think it’s code specific. Anyway, if anyone have anything intelligent to say I’d appreciate it!

I have a form page where I collect some specifics and then it calls a page that generates the queries.

Steve

Something to do with buffering? Can you turn buffering of and then flush the buffer after every sucessful query?

I suggest you keep buffering turned on, and flush it at useful points in your code (page building wise).

I had half of it right. :smiley: