Help for this page

Select Code to Download


  1. or download this
    my ($col1,$col2, $col3) = $dbh->selectrow_array("SELECT col1,col2,col3
    + FROM database where whatever='something' limit 1");
    
  2. or download this
     $sth->execute();
     my $names = $sth->{NAME};
    ...
              print "$name is $r->{$name}\n";
         }
     }