Page 2 of 2

Posted: Thu Jun 21, 2007 4:19 pm
by superdezign
UrButtFullOfArr0ws wrote:Does the output look familiar? :lol: :lol: :lol: :lol:

Code: Select all

Goto_page Previous  1, 2, 3 ... 28, 29, 30 ... 36, 37, 38  Next
No.. What's it similar to? Whatever it is, I don't like it. :P
It's interesting, and does look hard to make, but who cares about the first few, middle few, and last few? If anything, just add a "first" and "last" button, and go back to your other way.


And I didn't read it all, but your "append_sid" should only be called once and saved into a variable rather than called all of the time.

Posted: Thu Jun 21, 2007 4:55 pm
by RobertGonzalez
That is phpBB pagination code, and before you go around using it, make sure you know what you are doing. You do not need to use append_sid if you are not using their sessions code. But their paging code is a little off. I am tweaking it at the moment to use a class structure instead of procedural. It is good code, but it can be better.

Posted: Thu Jun 21, 2007 5:06 pm
by superdezign
I thought "sid" didn't sound like a page number... :P