I have a MySQL db set up locally that I've been testing with, and a somewhat complex search query I use runs fine, and produces the expected results.
I uploaded everything to a live hosting server, and the query produces different results. The db and tables were created from a dump of my local db. I've printed the table structures and compared them line-by-line; they're identical. I've checked the output of phpinfo() on both servers, and they're identical.
The only differences I find anywhere are locally I have mySQL version 5.0.41 and PHP 5.2.5, and the hosting company is using mySQL 5.0.45 and PHP 5.2.8.
I don't know why the query would work fine locally, but not on the hosted site, and i don't know what else to check . . .