- or download this
CREATE TABLE mytable
(
person VARCHAR(20),
lasttime INTEGER
);
- or download this
my $sql = "INSERT INTO mytable (person,lasttime) VALUES ?, ?";
my $sth = $dbh->prepare( $sql );
...
{
die( "DB Error " . $dbh->errstr . "\n" );
}
- or download this
my $timenow = time();
my $fiveminutes = 5 * 60; # 60 seconds times five
...
{
die( "DB Error " . $dbh->errstr . "\n" );
}