How do I assign javascript variable to php variable?
i have a javascript variable which have some value that variable value assign to php variable how i do this thing
<script type="text/javascript">
var view = true;
var bcount=10;
var wcount=10;
var tcount=10;
</javascript>
<?php
$whitelistcount=????
?>
in this code i have no use ajax and jquery only simple javascript and core php
How do I assign javascript variable to php variable?
===

i have a javascript variable which have some value that variable value assign to php variable how i do this thing
<script type="text/javascript">
var view = true;
var bcount=10;
var wcount=10;
var tcount=10;
</javascript>
<?php
$whitelistcount=????
?>
in this code i have no use ajax and jquery only simple javascript and core php