Anyone knows a way to check if all page has been loaded??
put this at the bottom.
echo 'page loaded';