Help for this page

Select Code to Download


  1. or download this
    $sth = $dbh->prepare('SELECT ... FROM ... WHERE ... LIMIT ?,?') or die
    + "...";
    $sth->execute(..., param('start') || 0, param('number') || 10) or die 
    +"...";
    
  2. or download this
    my $start = param('start') || 0;
    my $num = param('number') || 10;
    ...
    print_previous_link if $less_to_do;
    print_results(@actual);
    print_next_link if $more_to_do;