--- On Wed, 3/17/10, Tony <tonj at freeuk.com> wrote: > if ($hits >= 5) { For code correctness, shouldn't this be "if ($hits >= $req) {" ...? If you're not setting $req to 5, perhaps something is being suppressed....