I've got a page/script which 'includes' other subpages.. how can I force my main page to stop running any further code until the subpages (included pages) have fully loaded?

    Is this a PHP issue or a JavaScript issue? Since (normally) PHP is not multi-threaded, I wouldn't expect this to be a PHP issue, but could be a JavaScript issue if, say, you do a bunch of AJAX type requests on the client side to populate the page?

      Write a Reply...