PDA

View Full Version : While loop limit


revjection
08-02-2010, 06:38 PM
I have a loop that lists all my selected table on 1 page but I want to limit its listings to 10 then move on to another page. Can someone please explain this to me?

edbr
08-03-2010, 01:02 AM
well if thats what you want its limit 10 20 on page 2 but i suspect you relly want to use pagination which requires a script . DW has one in its behaviours

revjection
08-03-2010, 01:17 AM
Thanks for the help but I figured it out all by myself and as I am new to php I am quite pleased. Its my most complex script to date in php!

edbr
08-03-2010, 01:42 AM
good for you i wish i could say it gets better :)