close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Search page pulling in incorrect data

Thread began 2/07/2017 8:37 pm by EmmaMorris | Last modified 3/01/2017 3:21 pm by EmmaMorris | 4506 views | 58 replies

EmmaMorris

Search page pulling in incorrect data

I have a search page that I am working on. See previous post 'Update page to modify database' for basic info. Created back end, works great.
The fields that are having an issue are ones that are using an array. This is probably simple as I see what it is doing.
Will use one specific field. Specialties. They can be numbered from 1 to about 25.
record 1 has 1,3,5 for entries
record 2 has 1, 7, 13 for entries.
When I search for specialty 1 both records come up.
When I search for 7 #2 comes up.
5 #1 comes up
but.... when I search for 13 or 3 I get both. I assume it is because they both have numbers in common. I also assume somewhere there should be something that tells it to use the comma separator to split it up.
Here is the comparison list line from the results page
$WADbSearch1->addComparisonFromEdit("specialtiesID","specialtiesID","AND","Includes",0);
or is the problem on the search page?
Thanks.
Any help would be appreciated.
Gary.

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