Hello, i had a php script with call other php page via jquery ajax to get the content. Now this page call the other page serveral time in mysql while loop. Somehow its making my ajax to run again and again. I can explain better by providing files if anyone can help me to get thsi resolved or guide me to a better process. thanks
You can using jquery for post or get in loop with setInterval Example: setInterval(function() { $.get( "ajax/test.php", function( data ) { //some code here }); }, 5000); Code (markup): This code load file test.php every 5 seconds (5000 miliseconds), you can setting in here for low time loop. Hope this help