Maybe is too basic but i could not do it, i have a php file and inside of it i call a js file. Inside that js i need to obtain a get var from the php file.
I have the following
PHP File:
<script language="javascript" src="scripts/scripts.js?tiempo=<?php echo $marcaTiempo; ?>"></script>
and in the scripts.js i need to get the var tiempo.
How can i achieve it?
Thanks
 
     
    