Hi,
I'm building a basic search engine to query a table in my Database, and
return 10 results at a time. At the moment I've got URL parameters of
url.query and url.start_row and a variable #maxrows# set to 10 - if no
inital start_row is defined, then the startrow is 1. I was wondering the
best way to do the following "features" of a search engine.
* When and how to display a "previous" link. What I mean by this is for the
first 1-10 results, we don't need a "previous results" link.
* How to determine number of pages in the search. E.g. if there are 48
results, and maxrows is set to 10, then there should be 4 pages.
Any hints or tips appreciated.
Will
--
[EMAIL PROTECTED] -=- www.lukrative.com
Classifieds -=- www.localbounty.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists