Hi Nick,
If you put your PHP after the <HEAD> tag in HTML, then you should be able to use a onload() event handler in the <BODY> tag to give some sort of time difference.
For example:
<HEAD>
<SCRIPT TYPE="text/javascript">
var now = 0;
var counter = setInterval('update()',1000);
function update() {
now++;
document.form.element.value = now;
}
</SCRIPT>
</HEAD>
<BODY>
<FORM>
<INPUT TYPE="XXX">
</FORM>
<?PHP GOES HERE ?>
</BODY>
If you know exactly how long the query will take, then it shouldn't be a problem to use this functionally.
You could also write something that says the page is loading in the status bar or something, or even on the page itself if you fancy implementing the DOM!
Kind Regards,
David