Thanksgiving code
November 28th, 2008I needed a script to loop through the letters of the alphabet and put this in an array: a-z, aa-zz, aaa-zzz, aaaa-zzzz, etc. Through a very rough approach, I’ve satisfied conditions 1-3, but not anything after (source code below).
<?php
global $used, $items;
$items = explode(’|', ‘a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z’);
//$items = explode(’|', ‘1|2|3|4|5|6|7|8|9|0′);
$max = 9000;
$used = $items;
$length = 1;
$stop = [...]
