EDIT: Examples are not operated for all browsers, recommend you view in Opera / Firefox!
Okay so I've been designing a user control panel for people using my gaming server, and have hit a problem. The way I have made it is that every .php page calls the function Layout from layout.inc, which then prints a consistent layout on each page. (Layout: http://www.redgies-rp.co.uk/redgie/test/).
Now I've come to start coding around the design, but the problem is, once I have ran the include, and it creates the design, I want it to have something in the middle, but when I create it, it is created at the bottom (Example: http://ucp.redgies-rp.co.uk/login.php).
Is there a solution to this? Or will I have to:
A) Re-Print the layout on every HTML document, rather than calling it from a remote location
B) Run everything of one file, index.php, and have all coding in the one file for all 20-30 pages, in the format of /index.php?page=pageid
Sorry if that makes no sense ^^
Much Appreciated!
Okay so I've been designing a user control panel for people using my gaming server, and have hit a problem. The way I have made it is that every .php page calls the function Layout from layout.inc, which then prints a consistent layout on each page. (Layout: http://www.redgies-rp.co.uk/redgie/test/).
Now I've come to start coding around the design, but the problem is, once I have ran the include, and it creates the design, I want it to have something in the middle, but when I create it, it is created at the bottom (Example: http://ucp.redgies-rp.co.uk/login.php).
Is there a solution to this? Or will I have to:
A) Re-Print the layout on every HTML document, rather than calling it from a remote location
B) Run everything of one file, index.php, and have all coding in the one file for all 20-30 pages, in the format of /index.php?page=pageid
Sorry if that makes no sense ^^
Much Appreciated!