PDA

View Full Version : PHP function



Ini
16-12-2007, 10:44 PM
Making page pagination

is


for($i = 1;$i<=$total_pages;$i++){

Vaild?

Ini
17-12-2007, 11:59 AM
Er.. bump..

Edited by Agesilaus (Forum Moderator): Please do not multiple post, unless you are adding new information when the 15 minute edit time is up.

Mentor
17-12-2007, 08:41 PM
Its a valid top line of a for loop on the assumption $total_pages is set to somthing o.o

Ini
17-12-2007, 09:46 PM
Yes it is set..

That's in the code right before display page 1 if no other pages and my max results is set to 3 and there is 6 entries in the database and i cant get it to displays the other page numbers..

It just has 1 at the bottom..

Want to hide these adverts? Register an account for free!