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

Why not getting results from mysql statement

Thread began 5/06/2021 12:21 pm by lr_leal239405 | Last modified 5/13/2021 4:52 pm by lr_leal239405 | 192 views | 8 replies


Why not getting results from mysql statement

I would like to open a ticket for help with this code. It is custom php code written originally by someone else and worked on by me. Please take a look at the attached files. I am trying to get results by querying based on selected boxes. It displays correct results when I have one checkbox selected but not sure why not when I have more than one box selected. I have also added snapshots of the search page and results page since I can't allow access in website.

You can view the code and start at line 170 I of the 'orders_report.php' file, where I tell it - if the count is 1, then filter by column that has 'pending'. But, if not, it should just not filter by that at all. I'm not sure what I'm doing wrong but I get no results or it keeps filtering by 'pending' (etc. in other similar code).

Thank you.

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