First off, you need an == instead of an = in the
if ($league = "All")
.
Secondly, semicolons after the $leaguebool declarations,
{ $leaguebool = "1"; }
And the second one as well.
Lastly, delete the (' and ') around the $leaguebool in the $query. Then it should work fine.
= assigns a value, so you're basically saying in your original script:
If PHP can assign "All" to $league, then do this; which should evaluate to true every time. The == is a comparison.