Ok I see you are using the SQL monitor.
I just took a look at the code and inside the while loop that fetches the query results then it increments a counter using:
$count++
..which is then passed into a language variable, so I can't see why it would return 0.
I just took a look at the code and inside the while loop that fetches the query results then it increments a counter using:
$count++
..which is then passed into a language variable, so I can't see why it would return 0.