close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Dynamic Menu linking to DataAssist results page

Thread began 2/12/2010 5:32 am by Russell Collins | Last modified 2/16/2010 3:38 pm by Russell Collins | 3077 views | 12 replies

Eric Mittman

It looks like your search is setup to work with the posted values:

//comparison list additions

$WADbSearch1->addComparison("ARTIST_idARTIST","".((isset($_PO ST["S_ARTIST_idARTIST"]))?$_POST["S_ARTIST_idARTIST"]:"") ."","AND","=",1);
$WADbSearch1->addComparison("idCATEGORY","".((isset($_POST["S_idCATEGORY"]))?$_POST["S_idCATEGORY"]:"") ."","AND","=",1);

You can fix this one of two ways. You can either update the search forms method to be get instead of post, and update the code to work with the get like this:

//comparison list additions

$WADbSearch1->addComparison("ARTIST_idARTIST","".((isset($_GET["S_ARTIST_idARTIST"]))?$_GET["S_ARTIST_idARTIST"]:"") ."","AND","=",1);
$WADbSearch1->addComparison("idCATEGORY","".((isset($_GET["S_idCATEGORY"]))?$_GET["S_idCATEGORY"]:"") ."","AND","=",1);

The other way you could update this would be to use the request instead of post or get, this will work for either a posted value or one that comes through the url. It should look like this:

//comparison list additions

$WADbSearch1->addComparison("ARTIST_idARTIST","".((isset($_REQUEST["S_ARTIST_idARTIST"]))?$_REQUEST["S_ARTIST_idARTIST"]:"") ."","AND","=",1);
$WADbSearch1->addComparison("idCATEGORY","".((isset($_REQUEST["S_idCATEGORY"]))?$_REQUEST["S_idCATEGORY"]:"") ."","AND","=",1);

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