function loads before page
Posted: Wed Nov 01, 2006 2:39 pm
Hi all,
I have a function that gets called in the middle of my html document. This works fine... my problem is that the function gets called before the page is even done loading. so basically the page is blank until the function is finished doing its thing.
The way my code is setup is this way :
and then down here is the html stuff and the Check_Status call using
Anyone else run into this kind of problem and/or know what to do in this kind of situation?
Thanks
--tarja
I have a function that gets called in the middle of my html document. This works fine... my problem is that the function gets called before the page is even done loading. so basically the page is blank until the function is finished doing its thing.
The way my code is setup is this way :
Code: Select all
<?php
function Check_Status()
{
fsockopen(blah... );
}
?>Code: Select all
<? Check Status(); ?>Thanks
--tarja