var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Quick PHP question on refreshing
i searched php,net and my own guide book but i can't seem to find an option where I can amke a php script refresh itself every X seconds.
Does anyone know of such an option?
This is above the layer where PHP operates. You want to look at the HTML meta refresh tag.
In the 'head' section will refresh the page every 5 minutes.
<meta http-equiv="refresh" content="600">
Thanks for the tip.
If you need to change page location while PHP is executing, you can also do:
The caveat is that you have to call this before ANY output is sent to the browser, including error messages, or even the <!DOCTYPE> declaration.