Members Section
if ($user_id != "") {
$check = "select authind from user_id where userid = '$user_id'";
$check_result = mysqli_query($mysqli, $check) or die(mysqli_error($mysqli));
$fetch = $check_result->fetch_assoc();
$authcheck = $fetch['authind'];
if ($authcheck != '') {
echo '- Update Personal Details
';
echo '- Change Password
';
echo '- Sign Out
';
if ($authcheck != 'M') {
echo '
Administration
';
}
if ($authcheck == 'G') {
echo '
Walkers Diary Events
Walkers Photo Gallery
';
}
}
}
} else {
echo '
Become a Member ';
}
?>