I want to assign a php variable to javascript variable.
<?php
$type =1;
$form = ' <script>
var jquery_type " <?php = $type; ?>";
</script>';
?>
But in source page, it is showing like below,
var jquery_type " <?php = $type; ?>" ;
How can i get this php value ?