close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Problem! MySQL query with two INNER JOINS and WHERE with two conditions

Thread began 2/03/2010 6:33 am by blackweldermhe400113 | Last modified 2/03/2010 3:12 pm by blackweldermhe400113 | 7506 views | 5 replies

blackweldermhe400113

The OR operator doesn't work either.

I tried the OR operator and it still seems to be doing the same thing. When you select one of the category links from the index page the products page dumps all items in descending order, but the odd thing is when you select one of the collection items it seems to be partially working. Like say i select item one in the collections column with an id=1, the products page will dump the items within that collection, can't tell if that has something to do with the order in which the item entries where made. Even stranger, if I select the second item in the collections column with an id=2 the products page will supply the first three items as items that have a category id=1 / collection id=1 then supply all the right items for the collection id=2. So it queries somewhat correctly. Not sure what's going. Can you think of anything else?

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...