count_records_select with OR clause

Re: count_records_select with OR clause

by Davo Smith -
Number of replies: 0
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

I'll repeat my original instructions with added emphasis:

You can then copy and paste this into adminer or PHPMyAdmin (or whatever software you use to connect to your database backend), manually substitute in the params and see what happens. This should allow you to figure out exactly what is wrong with your query and/or the data in the database.

So the first ? needs to be replaced with the first param (1605)

The second ? needs to be replaced with the second param (13687)

etc.