- or download this
my $script = param('select') or ...;
...
$dbh->do("UPDATE guestlog SET script='$script' WHERE host='$host'");
- or download this
my $script = param('select') or ...;
...
$dbh->do("UPDATE guestlog SET script=? WHERE host=?", undef, $script,
+$host);
- or download this
$sth = $dbh->prepare( "SELECT * FROM guestlog WHERE host='$host'");
$sth->execute();
- or download this
$sth = $dbh->prepare("SELECT * FROM guestlog WHERE host=?");
$sth->execute($host);