Possible Duplicate:
Using a javascript variable to set PHP variable
I need to do something like this
<script type="text/javascript" charset="utf-8">
'<?php $something; ?>' = $(".product_calculation").val();
</script>
<?php
print "from js" . $something;
?>
so i need to set a variable and then use it in php directly below after i set it