Hi folks,
I'm not a DBI newbie, but am struggling with some
code.
I can happily make a select field1, field2 and return
all rows to a web page.
However I want to return only a partial number of rows
( say 5 ) on successive pages - much like a search
engine (where page 1 give results 1-10, and a link to
page 2 gives rows 11-20 etc etc).
I think I need to use fetchrow_arrayref with something
like
for ($count = 0; $count < 10; $count++){
$data = $sth->fetch[$count];
....do something with $data
}
however I can't get the desired effect ((my personal
opinion in an otherwise execeleent book ;-) is the
o'rielly book is a bit vague also))
Does anyone have any pointers or even a code snippet ?
it would be much appreaciated
Tory.
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com