Hi Everyone, this is probably simple and maybe should be in the newbie section. I have this code in a web site administration page.
<?
function generate_page() {
Text shows up in the right spot.
END;
}
?>
This uses a couple of other files to generate the layout however the text eventually shows up in the center of the layout.
However, I'm using a third party script to add a calendar and it prints the calendar above the layout when all the code is entered in between the "generate_page(){" like shown above. I'm assuming something is closing something that it shouldn't but I've tried editing a lot of the code and wrestling with it not working.
Any help would be greatly appreciated.
The calendar script is Calender 2.22 Written by Erik Holman.
I've attached it, it has been copied and pasted directly into the code minus the PHP tags at the top and bottom.