|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have this loop:
my @loop_data = (); while (@results = $sth->fetchrow_array) { my %row_data; $row_data {id} = shift @results; $row_data {agent} = shift @results; $row_data {name} = shift @results; push (@loop_data, %row_data); } $template->param(loop_hasil=> @loop_data); print $template->output; I want the results to be limited in N (variable) results per page in the template file. Does anybody could help me with this one. My search script already running, but if the data getting larger, I need the results to be limited. Thank you very much for any help. |
|
#2
|
||||
|
||||
|
see the following discussion:
http://www.devshed.com/Talk/Forums/...TML/000234.html ------------------ SR - webshiju.com www.jobxyz.com-IT Career Portal ezipindia.com--WebStudio "The fear of the LORD is the beginning of knowledge..." |
|
#3
|
|||
|
|||
|
Thank you Shiju.
Hope I could help you too. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > limit search results |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|