Help for this page

Select Code to Download


  1. or download this
    my $sth = $dbh->prepare( q{SELECT 1 FROM messages WHERE DATE_SUB(CURDA
    +TE(),INTERVAL 1 DAY) <= message_data LIMIT 1; } );
    $sth->execute();
    print "We got it" if $sth->rows();