Jump to content

[SOLVED] echo text before page is finished loading?


hlstriker

Recommended Posts

Is it possible to echo text before the page is finished loading?

 

Example:

echo "This text should be displayed instantly";

echo "This text should wait until the page is fully loaded to display";

 

I tried the following but it didn't work:

ob_start();
echo "This text should be displayed instantly";
ob_flush();
flush();

echo "This text should wait until the page is fully loaded to display";

 

So, is this possible and if so how can I do it?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.