Admin Link [Solved]

<?php

if(Auth::LoggedIn())

{

if(Auth::UserInGroup('Administrators'))

{

	echo '<li><a href="/Forum/forumdisplay.php?fid=16">Staff Forum</a></li>';

}

?>

I am using this in the Pilot Center for the staff Forum put i get a syntex error or somthing like that. Does any one have ideas or let me know what i am doing wrong. So only people in the Administrator group can see this link.

thanks a lot

Daniel

You are missing the last } to complete the first if statement.

}
?>

ahh ok thanks. I will try it know

thanks

works great. Thanks