Author For News

Feb 3, 2013
56
3
Okay done this but the - {username} doesnt show up on the the News Pages Done know if you need this but
Code:
  mysql_query("INSERT INTO cms_comments (article, userid, comment, posted_on, author) VALUES ('".filter($_GET['id'])."', '".$_SESSION['user']['id']."', '".filter($comment)."', '".$posted_on."', '" . $_SESSION['user']['username']. "');") or die(mysql_error());
 

Users who are viewing this thread

Top