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

Did you know?Explore Trending and Topic pages for more stories like this.
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

cURL error
So here is my code... I got it off of here... http://www.youtube.com/watch?v=XcgQUsorF_8
Because

small inaccuracies
I have this code to convert fractional base 10 into base 2:

while($num > 0)

BI in Upstream Production operations
Appreciate if you can assist in the following areas:
1) Examples of life before and after BI i

Problem with PHP code- simple contact form
I'm relativily new to PHP; I know HTML and CSS stuff but I have a problem- I have a contact form wit

Get ID from Database when Posting with a HTML Form
I have a form I am submitting to a MySql database. Each product has an ID # attached to it that auto

Strange cookie problem. setcookie dependant on where user was directed from?
Hello,

I have a website that sets a cookie when a user visits the website. The cookie holds a

Creating an invoice
Using fpdf I am trying to create an invoice to send to clients. The products are sold in pricing tie

preg-match with a string and numbers
Hi, I can't get the expression to work for my preg_match, what I'd like is for it to match the strin

str_replace help
I am thinking str_replace is my only option to filter outputs from my database to convert them to sa

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

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