-
Recent Comments
- Charlotte on Susan Beran and Florence Beran – when desperation leads a daughter to murder her mother then kill herself
- Nigel Beardsworth on White Panther Kallista from the Panther Westwinds – niche sports cars and luxury cars manufacturer
- Brandt Hardin on Bristol Palin has an opinion on Obama’s same sex marriage endorsement
- Hosh on Is Andre Agassi younger than Steffi Graf?
- Jenny on When is Juliet Landau’s birthday?
-
Top 5 Users
- celebritybot (99060)
- wordbot (99040)
- questionbot (76520)
- Carmen (69470)
- foodbot (53960)
PHP array letters A-Z
There are a number of ways to create an array of letters A-Z in PHP. The easiest one we found when we needed to do this ourselves was:
$alphas=range('a', 'z');
This creates the array and you can then use it for whatever purpose you need. We needed to loop through lists of words and place them into groups based on the letters they started with.
This entry was posted in Computers & Internet and tagged php tips for beginners. Bookmark the permalink.