I found a nice little solution to this if you ever need it. If you truly seperate content from functionality you probably wont. Well you might, depending on what you might want to acheive. Anyways I present the code below
Code:1 <?php 2 3 function refresh($url='', $timeout=0) { 4 echo "<meta http-equiv=\"Refresh\" content=\"{$timeout};url={$url}\">"; 5 } 6 7 echo '[Demonstrating automatic refresh after output emitted]'; 8 refresh('http://techjamaica.com/forums', 5); 9 ?>