DEBUG /tags.php ================= RAW $_GET['tag']: string(5) "index" Trimmed $tag: string(5) "index" Normalized $tagNorm (lower+trim): string(5) "index" Probe SQL (news): SELECT id, article_title, tag1, tag2, tag3, tag4, tag5 FROM news WHERE LOWER(TRIM(tag1)) = ? OR LOWER(TRIM(tag2)) = ? OR LOWER(TRIM(tag3)) = ? OR LOWER(TRIM(tag4)) = ? OR LOWER(TRIM(tag5)) = ? ORDER BY id DESC LIMIT 10; Rows Found: 4 Array ( [0] => Array ( [id] => 19371 [article_title] => Rammstein album no longer indexed in Germany [tag1] => Rammstein [tag2] => Germany [tag3] => Index [tag4] => Ich Tu Dir Weh [tag5] => Liebe Ist Fur Alle Da ) [1] => Array ( [id] => 17679 [article_title] => New troubles for Rammstein with the German censors [tag1] => Rammstein [tag2] => index [tag3] => germany [tag4] => censorship [tag5] => ich tu dir weh ) [2] => Array ( [id] => 17256 [article_title] => Rammstein drummer comments to The Gauntlet regarding the album being censored in Germany [tag1] => Rammstein [tag2] => Christoph Schneider [tag3] => index [tag4] => Germany [tag5] => Liebe Ist Fur Alle Da ) [3] => Array ( [id] => 17245 [article_title] => Rammstein to re-issue Liebe Ist Fur Alle Da in Germany [tag1] => Rammstein [tag2] => Germany [tag3] => Ich Tu Der Weh [tag4] => index [tag5] => Liebe Ist Fur Alle Da ) ) Extra sanity checks: Distinct tag1 values containing substring: Array ( [0] => Array ( [tag_value] => misery index [c] => 6 ) )