Coda Clips

PHP usage in JavaScript

<script type="text/javascript">
<?php $count=0; ?>
for(var i=0;i<10;i++)
{
   <?php echo "Value of Counter".$count;?>
   <?php count++; ?>
}
</script>

Added to by Srikanth Rayabhagi

Install Clip


Sponsored Links: