I need a cycle in jquery where I am referencing different pages and the variable is increasing.
Example
setTimeout(function(){
<?php
$b=1;
?>
location.href="paging.php?page=<?php echo $b?>"
<?php $B++?>
} , 2000);
</script>
I've tried it like that but it does not increase it just shows always the same page.
THANK YOU.