Hello There,
How do i put full-stop (.) after second figure from behind? ie if i have 123456 in my database and i want it to echo as 1234.56
Secondly, am designing a shopping website. I want the pages to be refreshed after every 5 minutes of usage that is, after the customer might have login to his account and the page is opened for 5 minutes without any operation on the page, i want the page to redirect the customers to login page if the customer now try to use the page after 5 minute o idleness of the page and when he might have login again he should be directed to the page where he was.
Regards
2 decima places & How to reload my page
Moderator: General Moderators
Re: 2 decima places & How to reload my page
1. Considered dividing by 100?
2.
or
Either way, there's no reliable way to force the user to visit that page after 5 minutes. This should only be for convenience (ie, you give them a "you have been logged out" notice).
2.
Code: Select all
header("Refresh: 300; url=/path/to/login/page");Code: Select all
<meta http-equiv="refresh" content="300; url=/path/to/login/page">