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

Will this protect from mysql injection?
I do not want anything like DROP TABLE to work or any type of coding..

Heres my code.. is it

have trouble in a if condition
The if below is working ok, it check when indexes, name, zipcode and state are empty.
Code: &

foreach help.
Hello all,

First time I'm attempting to use a foreach statement and was just wondering if my

PHP Directory Listing Not working
Hey Guys,

I need help, I tried a ton of directory listing scripts and they all don't work. Al

Using the $_GET variable to view certain records
Hello,

First let me explain my problem, I have 2 pages the first page pull a list of Guide ti

ASP.NET 2.0 - Enter Key - Default Submit Button
Hi,One of the most annoying things in developing web pages is handling the "Enter key" for form subm

$_POST variable un-useable
I'm trying to use a $_POST variable in a mysql update statement but i can't use it for some unknown

My query is being run with no results.
I have this.

Code: function DropUser($duser_id, $user_email, $user_username) {

IIS7 and getimagesize() problem
I have just discovered after hrs of trying to fix a problem where it's coming from. It's to do with

User input in to variable
Hi all,

I'm sure this is very easy but I'm having another brain freeze!

At the end of

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