PHP Help
PHP Help
Out of context: Reply #11
- Started
- Last post
- 14 Responses
- acescence0
ok, i'm avoiding work, so i'll write that bit for you as well:
$pagestart = ($page*$perpage)-$perpage;
$images = array_slice($images, $pagestart, $perpage);ok, so now if you pass this array to your code that builds the table, all should work. you'll just need to come up with the code to write out the page links. you can sort that one out ;)