close ad
Databridge V2 with MySQLi support IS Now Available!
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 11:37 pm by EmmaMorris | Last modified 3/01/2017 6:21 pm by EmmaMorris | 1536 views | 58 replies


Thought I replied already to this but its not here so I will repost.

Thanks for the info. Will check it out.. Actually I would like to do it correctly. I have searched around and read a bunch and am getting more confused.
From what you are saying and what I am reading, I need a 3rd table, correct? mainID (the dr) and specialtyID(the specialty). Many to many relationship. Problem I will have is then I will have to change the back end to get them into the database correctly. How do I insert them into the db.
Then on the search end, will the WA extensions do that?

Hopefully this is the correct way to do it.. Would rather get it right from the beginning.
Thanks so much.

Added after trying above.. after adding the
29 $WADbSearch1->addComparisonFrom("specialtiesID","". $_GET["specialtiesID"]. ",","OR","Begins With",0);
30 $WADbSearch1->addComparisonFrom("specialtiesID",",". $_GET["specialtiesID"]. "","OR","Ends With",0);
31 $WADbSearch1->addComparisonFrom("specialtiesID",",". $_GET["specialtiesID"]. ",","OR","Includes",0);
32 $WADbSearch1->addComparisonFromEdit("specialtiesID","specialtiesID","OR","=",0);

I get this:
Fatal error: Call to undefined method FilterDef::addComparisonFrom() in public_html/mdb/results.php on line 29

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





Ease of use


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