so my if statements with this function are not working. i can't seem to find were i went wrong. so any ideas?
The site:
Page on Site
My Function:
function show_editProfileCenter($edit,$req_user) {
echo "edit on ued: ". $edit . "<br />";
echo "user on ued: ".$req_user . "<br />";
echo "<ul class='tabset_tabs'>";
echo "<li><a href='#tab1' ";
if($edit == "all") { echo "class='active'";}else{ echo ""; }
echo ">Profile</a></li>";
echo "<li><a href='#tab2' ";
if($edit == "gt") { echo "class='active'";}else{ echo ""; }
echo ">GamerTags</a></li>";
echo "<li><a href='#tab3'>Tab 3</a></li>";
echo "</ul>";
echo "<div id='tab1' class='tabset_content'>";
echo "<h2 class='tabset_label'>Profile</h2>";
show_editBasicInfo($req_user);
echo "</div>";
echo "<div id='tab2' class='tabset_content'>";
echo "<h2 class='tabset_label'>GamerTags</h2>";
show_editGamerTags($req_user);
echo "</div>";
echo "<div id='tab3' class='tabset_content'>";
echo "<h2 class='tabset_label'>Tab 1</h2>";
echo "Tab 3 Content";
echo "</div>";
}