|
Posted by Hendri Kurniawan on 05/03/07 02:53
ZeldorBlat wrote:
> On May 2, 7:51 pm, Beshoo <basheerm...@gmail.com> wrote:
>> is there any way to control the page while it loading ????
>> for example first i want to load firstly the body next, header , last
>> footer !!which i will use it in portal big site ???!!
>>
>> thanx in advance
>
> You can try placing flush() at various points in your script:
>
> <http://www.php.net/flush>
>
> This will tell PHP to "send" everything that has been output so far.
> Note, however, that the web server and/or web browser may do buffering
> of their own.
>
If I may add, you can also use JavaScript (Ajax) to load different
section of your pages.
Of-course there are pro/cons on using it.
Hendri Kurniawan
[Back to original message]
|