Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

How can I use a JavaScript variable as a PHP variable?

<script type="text/javascript">
var jvalue = 'this is javascript value';

<?php $abc = "<script>document.write(jvalue)</script>"?>   
</script>
<?php echo  'php_'.$abc;?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #I #JavaScript #variable #PHP
ADD COMMENT
Topic
Name
3+1 =