Can anyone explain where my problem is here? im trying to create a link so that the user can go onto create a forum post
 include_once("DBconnect.php");
 $cid = $_GET['cid'];
 if (isset($_SESSION['uid'])){
     $logged .= "  <a href='create_topic.php?cid=".$cid."'>Click here to create a topic</a>";
 }else{
     $logged .= "  Please log in to create topics in this forum";
 }
 
     
     
     
     
    