Help for this page

Select Code to Download


  1. or download this
    DBD::SQLite::db prepare failed: file is encrypted or is not a database
    +(26) at dbdimp.c line 268 at prova.pl line 3.
    Can't call method "execute" on an undefined value at prova.pl line 4.
    
  2. or download this
    use DBI;
    my $dbh = DBI->connect("DBI:SQLite:dbname=prova.db","","");
    ...
    $sth->execute;
    $numRows = $sth->rows;
    print "Righe : $numRows\n";