I want to have a button, that logs out the user on click. But I don't feel like creating a form for that, or making an "onclick" handler. Is there another way to do it?
<p class='loginposition normal'>
."$_SESSION['email']".<form action='/logout.php' method='post'><input class='logout-submit button' type='submit' style='float:right;' id='logoutbtn' value='Log Out'></form>
</p>";
I want them to be in one raw: user@user.com [Log Out]