You will have to write code that first counts the seconds and see if they overflow the 59 seconds limit. If they overflow, you add 1 to the minute calculation.
Next, you count the minutes and see if they overflow the 59 minutes limit. If they overflow, you add 1 to the hours calculation.
Note: don't forget to add the 1 from the previous calculation, if applicable.
Next, you count the hours and if applicable,...
User Profile
Collapse
-
AJAX is a technology to retrieve data from the server without refreshing the page, to put it simply. AJAX does not care how that data was generated. Either dynamically generated or statically loaded or a combination of both, AJAX doesn't care. Its only task is to deliver data.Leave a comment:
-
This isn't a PHP problem, it's an HTML problem. By default the browsers eat away the whitespaces that come after the first whitespace. You can replace the whitespace by " " (without quotes) which the browser will recognize as a space.
You could also set the CSS property "whitespace " to "pre" for the containing element. That will stop the browser from eating whitespaces.Leave a comment:
No activity results to display
Show More
Leave a comment: