Var id; If(x==1) Id=c.children[2].innertext; Else Id=... <?php $varphp="<script>document.write(id);</script>"; ?> Var z; z='<?php foreach (Db::select("exec storedpr...
In javascript: Jsv1='80'; Jsvar.innerhtml='<?php $var=Jsv1; ?>'; Jsv1 and Jsvar is variable in javascript $var is variable in php Correct of top code ?
How to set php variable with js variable: Jsvariable1=...; Jsvar.innerhtml='<?php $var=Jsvariable1; ?>';