close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Another one on COUNT / SQL

Thread began 12/01/2015 12:36 pm by iain331081 | Last modified 12/03/2015 11:07 am by Ray Borduin | 685 views | 1 replies |

iain331081

Another one on COUNT / SQL

If you look at the site listed in the private area...

The value in the 'Matches' column should be counting the number of matching keywords between the user logged in, and the product listed.

So if you sort by Product so that Leopard Camp is at the top with 10 matches, and click on Leopard Camp, and then the Keyword Profile on the left, you can see that it only has four - Africa, Botswana, AberdareNP and Safari Tented Camp (< 20 rooms).

So the maximum matches the user logged in could have is 4.

If you click on 'Your Keyword Profile' at the top, you can see the keywords for the user, of which there are just 2: Africa and Botswana.

So the count in the original table should really just be 2, not 10 - i.e. the two keywords that are common to the user and the product, i.e. Africa and Botswana.

This is one I thought was working in testing, but isn't looking right now a few more people are using it - some double counting probably.

Details below....

I have attached a copy of the page for reference.

Thanks again.

Sign in to reply to this post

iain331081

I think I have this all working a I would like - will keep an eye on it for anything that looks incorrect though.

Sign in to reply to this post

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...