TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
Advertisement
Associates
Associates
techtuts Darkmindz
CSS Tutorials Tutorialsphere.com - Free Online Tutorials
Boston PHP SurfnLearn
Reply
 
LinkBack Thread Tools Display Modes
Old 10-12-2007, 11:25 PM   #1 (permalink)
The Gregarious
Upcoming Programmer Inquisitive 
 
Join Date: Sep 2007
Posts: 652
Thanks: 82
Tanax is on a distinguished road
Default same gallery script...

Yea, this is the same script as the XML thread.

I want to have it paginated, but it's not working like I want to :(

PHP Code:
-removed
bilder/
0.jpg
1.jpg
2..
3..
4

I got 5 pics.
As you see based on the $imgToShow value, I want to show 5 results per page, and since I have 5 pics, all will be shown on page 1.

However, that's not the case..
The 4th pic doesn't show at all(3.jpg).

Last edited by Tanax : 10-16-2007 at 08:34 AM.
Tanax is offline  
Reply With Quote
Old 10-13-2007, 02:35 PM   #2 (permalink)
The Gregarious
Upcoming Programmer Inquisitive 
 
Join Date: Sep 2007
Posts: 652
Thanks: 82
Tanax is on a distinguished road
Default

Removed images, and updated post because I've fixed the script to the better I think.

Still need help though..
Tanax is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 03:47 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0