lucasl Posted December 16, 2006 Share Posted December 16, 2006 Hi,I want my pages to show how long they took to load. I know how to do this, but I don't want to show it at the end of the page (I don't have a footer). Is there a way to do this (I want it in my second out of three divs). There are three work-arounds, but I don't know how to do either of them. (Are they even possible?)1. I'll be happy if it goes on the bottom of the last div, but vertical-align won't work2. Is there a way to put something in a div after it has been called?3. Can php sort of [i]send[/i] the echo to part of the document?Thanks for the help. Link to comment https://forums.phpfreaks.com/topic/30859-showing-gentime-not-at-the-end-of-a-doc/ Share on other sites More sharing options...
Hypnos Posted December 16, 2006 Share Posted December 16, 2006 Putting executing time before the end of the page isn't going to be accurate. What would be most accurate is to have a CSS box with an absolute position. Absolute position boxes can be anywhere in the code (IE: You can have a div box with an absolute position at the very last line of HTML, but have it draw at the top of the page).You can also just have your page be one long string, and not echoed until the script is complete. Then you can echo it anywhere, but it won't be as accurate (if that matters). Link to comment https://forums.phpfreaks.com/topic/30859-showing-gentime-not-at-the-end-of-a-doc/#findComment-142287 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.