Help for this page

Select Code to Download


  1. or download this
        my $data  = {};
        my $SQL   = "SELECT * FROM my_table ORDER BY order";
    ...
        }
        $sth2->finish();
    
  2. or download this
    "Can't use an undefined value as an ARRAY reference at /myprogram.pl l
    +ine 23."
    
  3. or download this
    $sth2->bind_columns( \( @row2 { @{ $sth2->{ NAME_lc } } } ));
    
  4. or download this
    while ( $sth->fetch() ){
        %record=%row;
    ...
        $data->{"data_$i"} = { %record };
        $i++;
    }
    
  5. or download this
    while ( $sth->fetch() ){
        %record=(%row);
    ...
        $data->{"data_$i"} = \%record;
        $i++;
    }