I want to pass JavaScript variables to PHP .
But I don't know how. Is there any methods ?
I already tried to get values from a file but it didn't work
Here is what i want :
javascript
<script> var t= 10 ; </script>
PHP :
<?php echo $t ?>
Aucun commentaire:
Enregistrer un commentaire