Update rsspost() and tweak some stuff in html.php.
Update rsspost() and tweak some stuff in html.php.

File last commit:

a5239f130d1d
a5239f130d1d
Show More
rss.php
15 lines | 253 B | text/x-php | PhpLexer
<?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();
}
?>