if (dbcount("(blacklist_id)", DB_BLACKLIST, $check_value)) { redirect("http://www.google.com/"); }