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

Saving PHP output as a file
I wondered if anyone knows how to save the rendered output of a PHP script as a file?

I have

Passing vars to the DB
I have 3 small testing tables:

ID TYPE
1 pepperoni
2 C. bacon
3 taco

ID TY

Parse Error Help
Hello, I got the parse error "Parse error: syntax error, unexpected ',' in register.php on line

Need help with PHP/MySQL drop down menu
I need help on how I can implement a drop down menu which queries mysql database and output the avai

LinkedList help
Ok so I just learned quickly about lists, so I have a not too hard project I think, but am having a

Odd or Even
Inside of a while loop I need to echo several rows of info...easy enough.

In the loop (for th

'grab_files', multiple extension?
hey guys,

can anyone suggest a way to make to following line of code look for files with more

DataTable Help Required
Hi all I am creating an app that utilises and MS Access back end and queries it quite a bit at vario

Need to write a cookie with a url var
Not sure if its possible, but I need to write a cookie with a url.

So this would write 2232 a

Escape Latin Characters
I need to escape latin characters in an xml doc. Example: "é" is escaped to "é". I thoug

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