Can I please have some help in using a PHP variable in some Javascript code. i want to use php code in javascript function how to use php scripts in javascript function for example i want to use php code in this javascript function
function rank()
{
<?php echo'hello';?>
}