<?php

function rsspost($body, $url)
{
	global $dbConnection;

	$sql = 'INSERT INTO rss_comment (body, url) VALUES (?, ?)';
	$stmt = $dbConnection->prepare($sql);
	$stmt->bindValue(1, $body);
	$stmt->bindValue(2, $url);

	return $stmt->execute();
}

?>
