Help for this page

Select Code to Download


  1. or download this
    my $statement1 = "SELECT files FROM catalog WHERE words LIKE %".$word.
    +"%";
    $sth1 = $dbh -> prepare($statement1);
    $sth1 -> execute();
    
  2. or download this
    my $find_files = $dbh->prepare(q{
      SELECT files
    ...
        ...
      }
    }
    
  3. or download this
    $sth2 = $dbh ->prepare("select filename, type from library
      where filename = $file_index 
      and".$rule_append);
    
  4. or download this
    my %search_library = (
      email => $dbh->prepare(q{
    ...
          AND (filetype = 'email' OR filetype = 'article')
      }),
    );
    
  5. or download this
    for my $w (@words) {
      $find_files->execute("%$w%");
    ...
        }
      }
    }