PHP во время петли алфавита

// php loop alphabet in foundation buttons with url params as links
        foreach (range('a', 'z') as $alphabet) {
            echo "<a class=\"button" href=\"example.com?letter=" . $alphabet . "\">" . strtoupper($alphabet) . "</a>";
        }
Vic20