close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


DataAssist Search not working

Thread began 2/28/2023 9:01 am by msmoose2400634 | Last modified 3/06/2023 11:07 am by Ray Borduin | 153 views | 3 replies |


DataAssist Search not working

I have a .php displaying all of the golf course games (see below) on the page I have 3 radio buttons so that the visitor can select to view all, team games only or individual games. Nothing seems to happen when any of the radio buttons are selected.

SELECT games.gamesTitle, games.gamesDesc,teamgame, if(teamgame='Y','Yes','No') AS v_team,teamgame
FROM games
WHERE active = 'Y' and gamesDesc <>''
ORDER BY gamesTitle ASC LIMIT 25
(with a repeat region)

I have a place on the page for visitors to select from a radio group

<form id="frmSearch">
<input type="radio" name="team[]" value=""> Show All |
<input type="radio" name="team[]" value="Y">Team Games |
<input type="radio" name="team[]" value="N">Individual Games
<input name="Search" type="submit" id="Search" value="Search" >

Below is the search statement generated by the DataAssist behaviour

$searchrs_games_1 = new WA_MySQLi_Search("rs_games","0=0");
if (isset($_POST["Search"]) || isset($_POST["Search_x"])) {
$searchrs_games_1->setSearch(array("type"=>"Value", "comparison"=>"=", "join"=>"AND"), array("teamgame"), "s", "".((isset($_GET["team"]))?$_GET["team"]:"") ."");

Also here is the before and after url


I have attached the php page.

Thank you in advance

Sign in to reply to this post


Oops forgot attachment

I forgot the attachment

Sign in to reply to this post

Ray BorduinWebAssist

The trigger appears wrong.... this:
if (isset($_POST["Search"]) || isset($_POST["Search_x"])) {

I thinks should be:
if (isset($_GET["Search"]) || isset($_GET["Search_x"])) {

Sign in to reply to this post
Did this help? Tips are appreciated...


Thank you Ray, it worked like a charm. I missed that line, I did spend two days working on it, reading through the forums and help!

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





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