$query = mysql_query("INSERT INTO `tblname` ('title', 'topic') VALUES ('" . $title . "', '" . $topic . "');") or die(mysql_error());