29
rated 0 times
[
35]
[
6]
/ answers: 1 / hits: 22693
/ 13 Years ago, tue, april 5, 2011, 12:00:00
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.
More From » php