I have written a script which lists data from a mysql database, what I want to do though is split this data over several pages, instead of someone viewing 150 records on one very log page. I know how to do this in MySQL using the LIMIT 0, 30 query, but what I am struggling with is actually producing the perl code to work out how many pages there are.. any ideas?
Thank you.