yep like halcyon, and me before said. do that in javascript
things you need:
Code: 
setTimeout(function() {
// here your ajax request
},5000);
and about request - google that if u dont know:
jQuery.ajax()