PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I am trying to include a footer at the bottom of a page. It just contains links to other portions of the site. The page it is being included on is a dynamic page, it recieves actions using GET. The problem is however, when i go to the page using a get (page.php?action=whatever), the included file is included before any of the actions, when i want it to be at the bottom. Any help will be appreciated.
<?php
session_start();
/*This page containts all of the administrative operations.
member_add,member_view,member_delete,
event_add,event_modify,event_view,event_delete
statistics*/
include "../db_connect.php";
if(isset($_SESSION['logged_in'])) {
$action = $_GET['action'];
//all my actions which happen go here.
include "footer.html";
} //closes the session check
else {
include "not_logged.php";
}
?>