2 decima places & How to reload my page


Posted on 16th Feb 2014 07:03 pm by admin

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.

No comments posted yet

Your Answer:

Login to answer
154 Like 29 Dislike
Previous forums Next forums
Other forums

Count Session and Trigger Events
I am New in PHP, seeking a method to count logged users by counting the sessions or any …, is

paginate search result
Hi, I have a paginations script to display data from my database but i would like to paginate someon

pagination numbering pattern
Hello,

I have following code which works great for pagination. but i have small issue now.

CODE NOT WORKING
Code: [Select]<?php
//include shared codes

include '../lib/common.php';
include

Performance impact of cookies
Hi, I was just wondering what impact there would be in terms of performance if you where to set then

Need Successful Return
Hello I am currently working a form here, and I have everything figured out except when I click the

Parse error: syntax error, unexpected T_ELSEIF in /home/......html/item.php on l
I do not know what is wrong with this. Hope some one can help. I do nto want to post the entire site

Why use interfaces in PHP (OOP)
I am learning OOP in PHP and its been a pretty good learning experience so far. What I didn't unders

php include email form with attachment
I have had no luck with finding a email form all over the Internet for various reasons. Some insecur

CHECK A STRING FOR ' " ' (DOUBLE QUOTES)
I am checking for delimiter (.!?) and if there is a " after a sentence then it should neglect a

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash