Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

using js variable in php

<script type="text/javascript">
var abc= 'this is text';
<?php $abc = "<script>document.write(abc)</script>"?>   
</script>
<?php echo $abc;?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #variable #php
ADD COMMENT
Topic
Name
5+2 =