Link to home
Start Free TrialLog in
Avatar of TeChNiCh
TeChNiCh

asked on

Show only a few hits at the time

I actually got 2 question first question is about how to only show 25 entries at the time when i made a search in the database, and it should be able to click next if there was more then 25 hits, well ya'll probably understand what i mean, there is one in every search engine :P

The 2nd question is a easy one, a function that works like html's <br>?
ASKER CERTIFIED SOLUTION
Avatar of fritz_the_blank
fritz_the_blank
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Here is the link so you can find the article, grab the sample database and etc:

http://www.asp101.com/samples/db_paged_search.asp

Fritz the Blank
If you would prefer the paging without the search routine, it is at:

http://www.asp101.com/samples/db_paging.asp

Fritz the Blank
Second question "The 2nd question is a easy one, a function that works like html's <br>? "
You want to put a break line in a text?
<%
strText = "Hi there " & vbcrlf & "another line.."
response.write strText.
%>

hum.. not to sure that this was your second question but never know..

Greetings
have u solved ur query
So, where are we with this question?

Fritz the Blank
Administrative Action - Force Accepted

SpideyMod
Community Support Moderator @Experts Exchange
Thanks SpideyMod,

Fritz the Blank