Php data fetch into javascript for timer countdown process

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sanjay11
    New Member
    • Nov 2014
    • 1

    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...?? ???
  • Claus Mygind
    Contributor
    • Mar 2008
    • 571

    #2
    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?

    Comment

    Working...