Location: PHPKode > projects > Backend code/CMS for blizzle.com > v1.x/postcomment.php
<?
require "functions.php";

$query = "INSERT INTO comments (itemID, commentBody, displayname, commentDate, modpoints, commentBody_code) VALUES ('$itemID', '".textReplace($commentText)."', '".stripNick($displayName)."', NOW(),$modpoints, '".addslashes($commentText)."');";
$result = mysql_query ($query, $link) or die (mysql_error());


header("Location: index.php?uid=$itemID"); 
?>
Return current item: Backend code/CMS for blizzle.com