i would like to send a variable on the next page this is what i have at the moment
<? php
//some code
$ID = $_GET['ID'];
echo "<div id='show_here'></div>";
<script type ="text/javascript">
$(document).ready(function(){
setInterval(function(){
$('#show_here').load('fetch.php')
}, 3000);
});
</script>
so i would like to send the variable $ID
in to the next page i assume it will be something like this .load(fetch.php?=id=$id')
but it doesn't work can some one please help me out here
i think the first think is to define the variable id
in the jQuery
part but i do not know how to go about it please help