In my code a javascript function received value from html hyperlink. Value passing successfully, inside product function document.write(a) printing value 5.
But how can i print value of "a" inside product function by php. My code is here....


<html>
<body>

<a href='javascript: product(5);'>click</a>

<script type='text/javascript'>

function product(a)
{
document.write(a)

document.write("<?php

echo "some thing";

?>");

}
</script>
</body>
</html>