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

DataAssist & Search functionality

Thread began 5/19/2009 12:05 pm by fragop363190 | Last modified 5/22/2009 4:25 am by fragop363190 | 2654 views | 8 replies


DataAssist & Search functionality

Ok i got a public page that i have created using DataAssist and Public template with single record per row usage. I also checked search on page.

Everything created fine.

In my search box i got 2 search paramets.

Now i run into this problem probably easy to resolve. This page has to be filtered to produce specific records using $_GET requests.

im geting to this page by a URL like results.php?subCat=x where x is a number.

That is why i filtered the recordset generated by DataAssist with a WHERE clause and a parameter in order to filter by the subCat value.

Everything ok till i press the search button... It passes to the recordset only the 2 values from the search and cause i got my own WHERE clause in the primary recordset and no subCat value is passed i dont see anything in page.

I tried adding to append to the form code action="results.php?subCat=<?php $_GET['subCat'] so it keeps from primary link the subCat thing and repost it on submit of form (search button) but it doesnt append the subCat=x just goes to results.php and appends the filters of the search box (the 2 ones refered above).

I also tried inserting a 3rd HIDDEN parameter in the search box by using the server behavior, gave it to take that $_GET thing from above so it filters my recordset and submit form correctly.

if i do that i need to take out my filter from the where clause but the begining wihtout pressing the search button all records will be shown and i want them filtered from start. Just want to add 2 more search choices availalbe to public and ofc always filterd by what id i pass it.

I can not make it work correctly.
Need some help/propositions here.

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