Error!
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 'JOIN taxonomy AS up1 ON up1.id=taxonomy.child_of JOIN taxonomy AS up2 ON up2.id=' at line 1
SQL Statement: SELECT content_taxonomy.id as content_taxonomy_id,up2.tag as up2_tag,up1.tag as up1_tag,taxonomy.tag as taxonomy_tag,up2.id as up2_id,up1.id as up1_id,taxonomy.id as taxonomy_id FROM taxonomy JOIN content_taxonomy on taxonomy.id=content_taxonomy.taxonomy_id AND content_taxonomy.content_id= JOIN taxonomy AS up1 ON up1.id=taxonomy.child_of JOIN taxonomy AS up2 ON up2.id=up1.child_of WHERE up2.tag != '' AND taxonomy.magazine_id=5 AND (up1.id=7875 OR up2.id=7875)