xtopolis Posted July 9, 2008 Share Posted July 9, 2008 Hi, Is there an easy way to populate php arrays with values like A-Z, or 0-9 without typing: <?php $alphabet = array('A','B','C','D'.....); ?> I thought I might have seen an example in someones' sig on here once , but I don't recall their UN. Thanks Link to comment https://forums.phpfreaks.com/topic/113832-solved-populate-arrays-with-common-values/ Share on other sites More sharing options...
gigas10 Posted July 9, 2008 Share Posted July 9, 2008 loop Link to comment https://forums.phpfreaks.com/topic/113832-solved-populate-arrays-with-common-values/#findComment-584960 Share on other sites More sharing options...
PFMaBiSmAd Posted July 9, 2008 Share Posted July 9, 2008 http://php.net/range Link to comment https://forums.phpfreaks.com/topic/113832-solved-populate-arrays-with-common-values/#findComment-584962 Share on other sites More sharing options...
xtopolis Posted July 9, 2008 Author Share Posted July 9, 2008 Thanks, exactly what I was looking for. Link to comment https://forums.phpfreaks.com/topic/113832-solved-populate-arrays-with-common-values/#findComment-584970 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.