ok so im trying to get a javascript variable into a php script, this would be an example,
<script type="text/javascript">
x = new Date()
</script>
<?php
$x = $_GET["x"];
?>
<p><?php echo $x ?></p>
i just cant get it to work! I need help please?
EDIT: well im just trying to get the hash from a url via javascript then put that in a php script.