mercredi 22 avril 2015

Timer in javascript with php elements

Two important parameters have a php file:

$szamol

This specifies the number of seconds to wait . ( Need to start from the current time ): When time is up , call these functions:

$jatek = new jatek( $_SESSION['id'] ); $jatek->epuletkesz();

I know I can not do it in PHP countdown , but I do not know to pass the two parameters in php to javascript function .

For example, javascript setTimeout () function might be good, but I can not give it to it that these two parameters php .

Aucun commentaire:

Enregistrer un commentaire