Hi Tenuous,
Try this
1. Rename file main.php to editmember.php
2. Create new file called main.php and include the following code below:
(Important: notice that the html link sends a variable called "logout". In my book it refers to logoff in the text although the download code uses logout"
Code:
<?php
// include shared code
include '../lib/common.php';
include '../lib/db.php';
include '../lib/functions.php';
include '../lib/User.php';
//include '401.php' to successfully logOUT!
include '401.php';
?>
<a href="login.php?logout">LOG OUT</a>
I'm happy with it. I think it is what they are trying to show us; but if you find anything wrong, let me know, then I will have to change things.
Regards