tomverel Posted November 15, 2010 Share Posted November 15, 2010 Can this be done with php? aaa aab aac ... zzz Link to comment https://forums.phpfreaks.com/topic/218790-how-to-generate-aaa-zzz/ Share on other sites More sharing options...
BlueSkyIS Posted November 15, 2010 Share Posted November 15, 2010 yes! Link to comment https://forums.phpfreaks.com/topic/218790-how-to-generate-aaa-zzz/#findComment-1134726 Share on other sites More sharing options...
BlueSkyIS Posted November 15, 2010 Share Posted November 15, 2010 sorry, couldn't resist. <?php foreach(range('a','z') as $i) { foreach(range('a','z') as $j) { foreach(range('a','z') as $k) { echo "$i$j$k<br />"; } } } ?> Link to comment https://forums.phpfreaks.com/topic/218790-how-to-generate-aaa-zzz/#findComment-1134728 Share on other sites More sharing options...
tomverel Posted November 16, 2010 Author Share Posted November 16, 2010 Quote yes! LOL and thx for the code. It works like charm. Link to comment https://forums.phpfreaks.com/topic/218790-how-to-generate-aaa-zzz/#findComment-1134739 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.