| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
Basic Search Engine using Dreamweaver
or "How to display content from a database depending on submitted text using Dreamweaver's inbuilt scripts".
This was created as a example for a user who wanted to display book data based on a search type and a search term. The search types are Title, Author and Genre It is very basic. It simply checks if the search term is in the chosen field in the database. Dreamweaver Basic Search Engine asp Code:
This is all done with the inbuilt Dreamweaver scripts. It does not search multiple terms. To do that you would have to incorporate your own scripts. You can replace this Code:
<%
MM_dw_search_engine_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("search_engine.mdb")
%>
With the Dreamweaver connection include e.g. Code:
<!--#include file="Connections/dw_search_engine.asp" -->
__________________
CyberTechHelp |
|
#2
|
|||
|
|||
|
Hey...
I created a search engine, more or less like this one, and it searches only a specific word in my DB field. What i want to know:what do i have to do that allows this search engine to search the words in a random way...! |
|
#3
|
|||
|
|||
|
As stated, this example is very basic. It will only search the exact phrase posted.
If you want to search for individual words then you need to split the search terms and build a query. http://forums.aspfree.com/asp-devel...&highlight=term |
![]() |
| Viewing: ASP Free Forums > Programming > Code Bank > Basic Search Engine using Dreamweaver |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|