Thanks Ray; that makes it stick. But here's the next problem:
I enter this:
WHERE 0 <> 0
Which writes out this in the code:
$WADbSearch1_DefaultWhere = "WHERE 0 <> 0";
Which generates this error in the browswer when accessing the results page:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE 0 <> 0 ORDER BY gfxDate DESC LIMIT 0, 12' at line 1
What am I missing?