perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angus Lees <...@inodes.org>
Subject Re: PrevNextForm problem
Date Mon, 30 Sep 2002 22:13:00 GMT
At Mon, 30 Sep 2002 19:39:38 +0200, Andre Landwehr wrote:
> [-
>   *set = DBIx::Recordset -> Search ({'!DataSource' => 'mydb',
>                                      '!Table'      => 'user',
>                                      '$max'        => 10,
>                                     })
> <table>
>   <tr><td>[+$set[$row]{lastname}+]</td></tr>
> </table>
> [+$set->PrevNextForm ({-prev=>'<<Back', -next=>'Next>>'}, \%fdat)+]
> 
> When I click the next button the same page appears again, why?

because you aren't passing the relevant pieces from %fdat back into
the search.  have a look at the html code that PrevNextForm produces
and you'll see what needs to be passed.

-- 
 - Gus

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message