Page won't display until PHP functions have completed execution
<p>My website runs simplexml commands to pull data from 2 different websites, and doesn't finish loading the page until after the functions have their responses.</p>

<p>This is really only 1-2 seconds, but it is noticable when regular webpages take milliseconds to load.</p>

<p>Since this code is already in PHP functions, how can I most efficiently load the page and execute the code after? I'm assuming that by the time the page loads, the functions will have executed as well, its just that the browser itself won't refresh and finish loading til execution completes.</p>

<p>Hope this makes sense to you.</p>
