php loop through alphabet code example
Example: php while loop of alphabet
// 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>";
}