|
Posted by Matthew on 11/14/07 13:44
Sorry if this is a newbie question I can't seem to find the answer with
web searches, prob. wrong search query but can't get it right.
My PHP file does some database processing, of various kinds, and displays
some of the returned data in html. When the PHP file is at the end of its
processing two final functions are called, the FIRST function called makes
a SQL query and calls another function to display the returned rows in an
html table. The SECOND function called just displays the copyright info.
line and html menu that is always at the bottom of the site's webpages.
However when testing the file, I've noticed that the html table created by
the FIRST function call is displayed below the info. line and html menu
which are the result of the SECOND function call. This is the wrong way
around and, from the site's aesthetic point of view, unacceptable.
I'm not really sure why this is happening, or how I stop it and get the
PHP to display the html in the order which I want. Any help would be most
welcome. Thanks to all you PHPers. Matthew.
[Back to original message]
|