Current location: Hot Scripts Forums » Programming Languages » ASP » Query Problem with Multiple select box


Query Problem with Multiple select box

Reply
  #11 (permalink)  
Old 01-26-07, 10:52 PM
elessar elessar is offline
Newbie Coder
 
Join Date: Jan 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Found a few errors and fixed em...works like a charm now....the errors were where i had request.form("strCats") : should have been strCat

duh me
Reply With Quote
  #12 (permalink)  
Old 01-27-07, 08:07 AM
koncept
Guest
 
Posts: n/a
the error is in this line
sqlText = "SELECT * FROM products WHERE catalodID IN ('" & cats & "')"

do a
response.write(sqltext)
response.end()

put them right after the above mentioned line and copy the sql statement to a new query in your database and try to run it.
Reply With Quote
  #13 (permalink)  
Old 01-27-07, 04:57 PM
elessar elessar is offline
Newbie Coder
 
Join Date: Jan 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for your help Koncept. I found the errors in my sql and now it works.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple select box with PHP zoliky PHP 4 11-02-06 03:26 AM
code problem throws error matt001 ASP.NET 0 10-23-05 03:30 AM
Multiple column select box Dr-Leech HTML/XHTML/XML 1 08-30-04 11:27 PM
Declared Functions skipper23 PHP 4 12-17-03 10:06 AM
index page not showing up skipper23 PHP 3 12-15-03 01:10 PM


All times are GMT -5. The time now is 03:54 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.