I have a php file lets say file1.php, that printing a variable, its dynamic numbers output that already always increasing, like private message numbers that coming or others : <?php echo $variable ?> PHP: i want to put that variable output, in another files page title, lets say file2.php or file3.html, in the front of the another files page titles, and auto refresh every x seconds, maybe like this : after x seconds, get a private message after another x seconds, get another private message or its ok if just like this, only the variable, without the another text in the page title please share your knowledge to make it, maybe using javascript, jquery or others
Reload page with javascript: http://www.mediacollege.com/internet/javascript/page/reload.html Set the timeout function for javascript: http://www.w3schools.com/js/js_timing.asp Learn to use these before going any further.