Help for this page

Select Code to Download


  1. or download this
    my $sql = "SELECT * FROM test";
    my $sth = $dbh->prepare($sql) || die "Couldn't prepare $sql: $sth->err
    +str";
                                                                          
    +                                                                     
    +                     while ( @row = $sth->fetchrow_array ) {
        print "@row\n";
      }
    
  2. or download this
    dbih_setup_fbav: invalid number of fields: 0, NUM_OF_FIELDS attribute probably not set right at ./test_sqlite.pl line 12.