I am trying to put some weather information about major city on my web site
i fetch the info in a xml file on a independant server..
my weather code is in the middle of my page and parsing xml file take some seconds and this slow the load of my page.
does he have a way to run a script or a function independantly of the rest of my document ?
temporary solution i found is to put my data as image
<img src="myscript.php"> this is working my page load then the script continue independantly but i need some variable information that are saved in the myscript.php and i can'T recuperate them
i prefere do not use image, most of data getted in xml file are text.. but as i say above, this slow my script...
anyone have hint or suggestion?