Im a novice at php and cant seem to get the following two line together.
We want to use this line
<?php if($logged_in) { echo "Welcome back, $logged_row[username] "; } else {
print('<a href="http://xxx/login.html">Login</a> / <a href="http://xxx.com/signup.html">Signup</a>');
} ?>
But we need this put into it, we need it before the else statement.
<a href="<?= $_SERVER["REQUEST_URI"] . '&action=logout' ?>"><?= $lang['ACC_LOGOUT'] ?></a>
Any help would be greatly appreciated.