Repeating rows in an array and them paginating them
<p>Lets say I have a table with 20 rows and a pagination script.</p>

<p>The pagination script is set to display 10 rows per page and of course it will display two pages.</p>

<p>The problem is that sometimes my table will have less than 20 rows, lets say 3 - so the script will display just one page with 3 entries.</p>

<p>I need a way to reppeat those 3 rows untill the number reachers 20, store them in an array, and than use the pagination script as normal.</p>

<p>Any ideeas, can it be done? Can someone put this in a code?</p>

<p><strong>For those who wonder why?:)</strong> This is a problem becouse with each row i have asigned a post from my blog, and I have 20 posts which i want displayed. If for example the table which aoutoupdates with cron jobs has 17 rows, i'll have just 17 posts asociated with them. This is why i need to repreat them until 20, so i'll have all my 20 posts displayed no matter how many rows i have in the table:)</p>
