Help for this page

Select Code to Download


  1. or download this
        # we're fetching a single value (name), so we can call fetchrow_ar
    +ray()
        # in a scalar context to get the value
        while (my $item_id = $sth->fetchrow_array ())
    
  2. or download this
        while (my ($item_id) = $sth->fetchrow_array ())