Help for this page

Select Code to Download


  1. or download this
    require DBI;
    require DBD::mysql;
    
  2. or download this
    $statement = ....
    $sth = $dbh->prepare($statement) 
    $rv = $sth->execute 
    @info = $sth->fetchrow_array;    
    $rc = $sth->finish;
    
  3. or download this
    our $database;
    $dbh = DBI->connect("DBI:mysql:$database");
    
  4. or download this
    $dbh->disconnect;