i removed urlencode.. funny enough, I am now getting a value for the teamH, but now my query won't work trying to match Abbey\'s to Abbey's...
My teamH alert produces this: Abbey\'s Wrecking Crew
MySQL error = 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 '\'s Wrecking Crew AND division = 'a' ORDER BY id' at line 1
So I think your right about having to url encode the string, it seems to be trying to match the back end of the string, in the case of "May the bulls be with you", it tries to match "the bulls be with you". "510 Heat" tries to match "Heat", etc..