Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 1371 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Graphic Design, Multimedia and Photography     Web Design Resources :

Help:pages number on the side of the topc

Thread title: Help:pages number on the side of the topc
Closed Thread    
    Thread tools Search this thread Display Modes  
09-01-2008, 02:17 AM
#1
alchemy2004 is offline alchemy2004
Status: I'm new around here
Join date: Sep 2008
Location:
Expertise:
Software:
 
Posts: 1
iTrader: 0 / 0%
 

alchemy2004 is on a distinguished road

  Old  Help:pages number on the side of the topc

Hi guys,

I m a noob in this forum designing coding. Can anyone redirect me a link on where to learn how to put those pages number lik 1,2,3...last pages beside the a forum topic?

Thanks
Steve

09-02-2008, 01:05 AM
#2
derek lapp is offline derek lapp
Status: design rockstar
Join date: Jan 2005
Location: guelph, ontario
Expertise:
Software:
 
Posts: 2,246
iTrader: 0 / 0%
 

derek lapp is on a distinguished road

  Old

it's call pagination.

short version:
you need to get the total number of entries (pages) in the database, how many you want to list at a time, the starting and ending points to your list (if you list 25 per page, page 3 starts at entry 75 and ends at 100).

setting up the pagination links is easy, that's just some basic arithmetic. integrating all the logic into the rest of the pages to be handle the dynamic content is another can of worms.

it requires a database, common web usages is mysql and a server side language like ASP (vbscript of c#/.net), php, java, etc.

Closed Thread    


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

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed