Help for this page

Select Code to Download


  1. or download this
    my $sth = $dbh->prepare('SELECT DISTINCT email FROM contacts WHERE gue
    +st = ? ORDER BY email'); 
         $sth->execute($value) or die $sth->errstr;
    
  2. or download this
    my $sth = $dbh->prepare('SELECT DISTINCT email FROM contacts WHERE ? =
    + ? ORDER BY email'); 
         $sth->execute($value1,$value2) or die $sth->errstr;