Counting results and print links

wxdqz

New Member
Hello,

I got a serious question.
I have made an tool that allows people to search in a database.
I've used LIMIT to get 10 results each time.

However I want to generate links that can be user to navigate between the documents.

I allready know how to get the number of docs found, so I only need a function to make links like this

Say that I got 22 docs found,
the script should display;

a href = <!-- m --><a class="postlink" href="http://www.phpbuilder.com/board/archive/index.php/?10">http://www.phpbuilder.com/board/archive/index.php/?10</a><!-- m --> > 1 < /a - a href = ?20 > 2 < /a - a href = ?30 > 3 < /a -

Any help is appreciated,

jeroen
 
Back
Top