I am trying to pass the value of a javascript variable to a php variable.
This is my code but it's not passing anything...
<script>
var newVar = "2000";
<?php $value ?> = newVar;
</script>
Sorry, I need to javascript variable to be passing into php.
Code above turned round.