Help for this page

Select Code to Download


  1. or download this
    my $numParams = 1;
    my $SQL = 'SELECT syslog_timestamp, syslog_host, syslog_text
    ...
    {
        my $DBquery= $sth->execute($SearchPhrase, $begDate, $endDate);
    }
    
  2. or download this
    if ($begMonth)
    {
    ...
        $SQL .= " AND syslog_timestamp >= '$begDate'";
        $SQL .= " AND syslog_timestamp <= '$endDate'";
    }