I had to change that a lil' bit, but I got it to work. :D
Finished code:
PHP Code:
$article_content = "".$msg."<br>".$article_content."";
$group = getgroup();
$cancp = cancp($group);
if($isloggedin == "yes"){
$mygroup = getgroup();
if($cancp == "yes" or $mygroup == 6){
$add = "<a href='create_news.php'>Add News</a>";
}
else{
$add = "";
}
}
Can someone pls confirm that I haven't just messed something up big time here? XD; (if you do I'll kill you for ruining my moment of elated-ness! =P)