Quote:
	
	
		| 
					Originally Posted by FBFKids
					
				 So $sidebar = "<b><u>$admin." 
 ???
 | 
	
 Use this:
	PHP Code:
	
		
			
$group = getgroup();
$cancp = cancp($group);
if($cancp == "yes"){
$admin = "<a href='admin.php'><b>ACP</b></a><br>";
}
else{
$admin = "";
} 
$sidebar = "<b><u>".$loggedinname."'s Links:</u></b><br><br>
<a href='adopt.php'>Adopt Some Pets</a><br>
<a href='myadopts.php'>Manage Adoptables</a><br>
<a href='account.php'>Go to My Account</a><br>
".$msgctr."
<a href='logout.php'>Log Out</a>
".$admin."";
}