Reply
ASP,SQL and Dreamweaver
Old 06-01-2005, 04:16 PM ASP,SQL and Dreamweaver
Junior Talker

Posts: 2
My boss is currently trying to create a website using ASP, SQL and Dreamweaver. All works fine except when time comes to search database, the screen shows the first record entered in the database as the answer, Not the queried request. Any ideas?
rslavings is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 06-01-2005, 06:07 PM
Experienced Talker

Posts: 40
Hi,

Suppose you try the Macromedia Forum:

http://www.macromedia.com/support/forums/




You may find links of interest on this page http://multifinanceit.com/it/norway/norway.htm on my site.

Now it is about ASP.NET 2.0 and C# 2.0 as far as I know. There are also some documentation in the Dreamweaver 2004 MX manual about databases. Have you read that?

KBleivik
http://multifinanceit.com/
kgun is offline
Reply With Quote
View Public Profile
 
Old 06-02-2005, 02:03 PM
ExpressoDan's Avatar
Ultra Talker

Posts: 317
Name: This Space for Rent
Location: Georgia
How are you passing the search variable to the results page?

Try your sql like this on your results page:

SELECT * FROM YOUR_TABLE WHERE TABLE_COLUMN1 LIKE '%YOUR_VARIABLE%' OR TABLE_COLUMN2 LIKE '%YOUR_VARIABLE%'

You can search multiple columns in your table by adding another OR statement the column name and LIKE %variable%
ExpressoDan is offline
Reply With Quote
View Public Profile Visit ExpressoDan's homepage!
 
Reply     « Reply to ASP,SQL and Dreamweaver
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11170 seconds with 13 queries