The echo statement after my else always prints even if the conditional statement is true (has a value).
Clearly I'm doing something wrong. Any ideas what it is?
<?php
if ($action == 'editemail')
{
include ("editemail.php");
}
if ($action == 'editpassword')
{
include ("editpassword.php");
}
else
{
echo "
•<a href=\"?action=editemail\"> Edit E-mail Address</a>
<br>
<br>
•<a href=\"?action=editpassword\"> Create New Password</a>
"
;
?>