Help for this page

Select Code to Download


  1. or download this
    <A href="catalog.cgi?startitem=21">Next</A>
    
  2. or download this
      $sth = $self->param('dbh_shopping')->prepare(qq{
        SELECT
    ...
      });
      my $start_item = ($self->query->param('startitem') > 0)
        ? $self->query->param('startitem') - 1 : 0;
    
  3. or download this
      $sth->execute(
        $self->param('catalog_id'),
        $start_item,
        20
      );
    
  4. or download this
    $start_item + 0
    int($start_item)
    my $start_item2 = $start_item;
    
  5. or download this
      my $this_stupid_counter = 0;
      for (my $x=0; $x<$self->query->param('startitem'); $x++) {
    ...
        $this_stupid_counter,
        20
      );