![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi I am using asp to search a database. I have created the search page and the results page and the detailed page and it works ok but I have a keyword field, which is the main search box and was wondering if two 'Keywords' can be searched. As when i put in two keywords it shows no result This is my SQL SELECT * FROM database.table1 WHERE Description LIKE '%MMColParam%' AND Location LIKE '%varLo%' AND InDate LIKE '%strDate%' ORDER BY InDate DESC Is there something wrong with this code that why i can?t search with two keywords or is there something else i could do Many thanks Adam |
#3
| |||
| |||
|
#4
| |||
| |||
|
#5
| |||
| |||
|
#6
| |||
| |||
|
#7
| |||
| |||
|
#8
| |||
| |||
|
#9
| |||
| |||
|
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |