how to refresh advertisements after every 2 sec in website using php
chaitu11
0
Junior Poster
Recommended Answers
Jump to PostAre they in div or? Refresh whole page or?
You can use jQuery. For exaple:<script type="text/javascript"> var autorefresh=setInterval( function() { $("#your_element").load("new_entries"); }, 2000); </script>
Jump to PostDid you try the code from above?
All 6 Replies
vinsbg
0
Newbie Poster
chaitu11
0
Junior Poster
vinsbg
0
Newbie Poster
chaitu11
0
Junior Poster
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
chaitu11
0
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.