473,395 Members | 1,468 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Php data fetch into javascript for timer countdown process

i have undertaken online Exam in php sem5 project .
i have fetch data into database using php but php variable value assign to JavaScript var like <?php echo $time_o ?>;
but countdown is not work......pls give some suggestion...?????
Nov 14 '14 #1
1 1687
Claus Mygind
571 512MB
This looks like a javaScript problem and not a php issue.

so not seeing what your JavaScript code looks like around the echo command, and/or what your data looks like it would be impossible to give you an answer.

1. Are you sure $time_o is a numeric value?
Nov 20 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Victor | last post by:
I need a JavaScript timer - I have five events I need to time, that can be triggered by a mouseclick event, or a keypress event. Each event is separated by only one to two seconds. The first...
4
by: Jim | last post by:
How do I create a javascript timer to do the following: After the "submit" button is clicked on the website, wait 5 seconds and then show the button named "continue." Any help would be greatly...
10
by: jason_box | last post by:
Hello, I was wondering if there was a way to have a javacript be activated by an input button that would call to a cgi program and querey every 10minutes and the cgi would update the page without...
2
by: hisaki | last post by:
Hi there, For an internship I'm currently doing I need to be able to process large amounts of data in javascript. It's sort of a cash register system on which it's possible to see the current...
2
by: Marcus | last post by:
Here is a toy problem describing what I want to do: I have a web page with a single IMG element (say for a 128 x 128 "screen") which is initially blank (image=black pixels). I have AJAX code...
5
by: lucius | last post by:
With ASP.NET/Framework 1.1, I would like to have a class that instances on application startup, and every 60 seconds after that does some work (actually a database fetch). Then any .aspx/.asmx page...
3
by: Pika | last post by:
I have a gridview with some data and I need to access to this data through javascript. Can someone help me.
3
by: Ajinkya | last post by:
How can I poll for serial port data using javascript ?
1
by: baillie11 | last post by:
Hi all, im in a pickle. I have a created a Texas Holdem Poker Timer for my Friday night Poker games. I am using an MS Access Database to store and retrieve my saved blind levels with the round...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.