Print Page | Close Window

Asp search result

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=21072
Printed Date: 29 March 2026 at 7:47pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Asp search result
Posted By: urko
Subject: Asp search result
Date Posted: 18 August 2006 at 4:42pm
How do you show the text written in textfield on the result page no matter what text is searched?

Example:

Lets say u searched for word "test" on your search page.

What i want on my result page is:

You searched for test



Thanks,


-------------
Urko



Replies:
Posted By: MadDog
Date Posted: 18 August 2006 at 7:11pm
Simple, just use the Replace method.

strSearchResult = Replace(strSearchResult, strSearchKeyword, "<b>" & strSearchKeyword & "</b>")


-------------
http://www.iportalx.net" rel="nofollow">



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net