- or download this
sub show_news {
my ($dbh, $article_id) = @_;
my $sth = $dbh->prepare("...");
$sth->execute($article_id);
}
- or download this
$dbh->disconnect;
$sth = $dbh->prepare(...) or die ...
- or download this
UPDATE news_articles
SET article_title = ?
WHERE $article_id = ?