Fellow HTML'ers:
I've been coding css/html for a while now and I've not run into this. My programs usually output via modular functions such as _headers, _body, _footer, etc, Each with its own output. I've always followed the same methods and sequence when calling these so my pages have remained quite consistent.
Now, however, I've run into something that I cannot seem to figure out. And that is when I have multiple pages of output in a single execution of my php program.
In this particular case when processing the returned data from a form I output a complete page with a "please wait" type of message while I perform communications with a remote server. Upon receipt of the remote data I then display a completely fresh page. However, this page is built BELOW the please wait page.
One would think that the _heading function, which works in all other cases, would clear and start a new page. But it doesn't. I just get a new set of headers below the footers of the previous page.
I've searched this site and various online html references as well as my stable of html books.
There has got to be something quite simple that I am missing or more than likely forgotten about.
Can someone please advise where or what to look for or address to overcome this issue?
Thanks
I've been coding css/html for a while now and I've not run into this. My programs usually output via modular functions such as _headers, _body, _footer, etc, Each with its own output. I've always followed the same methods and sequence when calling these so my pages have remained quite consistent.
Now, however, I've run into something that I cannot seem to figure out. And that is when I have multiple pages of output in a single execution of my php program.
In this particular case when processing the returned data from a form I output a complete page with a "please wait" type of message while I perform communications with a remote server. Upon receipt of the remote data I then display a completely fresh page. However, this page is built BELOW the please wait page.
One would think that the _heading function, which works in all other cases, would clear and start a new page. But it doesn't. I just get a new set of headers below the footers of the previous page.
I've searched this site and various online html references as well as my stable of html books.
There has got to be something quite simple that I am missing or more than likely forgotten about.
Can someone please advise where or what to look for or address to overcome this issue?
Thanks