Posted on: 03/07/03 06:57pm
By: anabavi
Hey, everyone.I added some PHP -- pure PHP, pretty standard stuff -- as directed by tomw (clap, clap, clap) to a static page and eventually everything was parsed okay. The only problem is that the header (the title of the page) was placed below the entirety of the content.None of my other static pages look like this. The PHP in the code merely calls a function I wrote that concatenates some text.Any ideas on how to solve this?
PHP, static pages, and misplaced header
Posted on: 03/08/03 12:09pm
By: Anonymous (Anonymous)
My guess is that your php outputs directly. You need to capture any output in a variable and return it. Then you output will be placed after the header.
TomW
PHP, static pages, and misplaced header
Posted on: 03/24/03 05:36pm
By: Anonymous (theonomine)
Nope, running it as a function and returning a value does not help whatsoever. Any other super gurus want to give this a whirl?
PHP, static pages, and misplaced header
Posted on: 03/25/03 08:31am
By: Anonymous (Anonymous)
The offending code always helps, otherwise we are just guessing.
TomW