var letter = Array("abcdefghijklmnopqrstuvwxyz").split("");

this is the code to use in PHP, javascript or other programming languages that you can use to declare a new variable with all the letters in the alphabet using an array

This variable is very handy because you can use it when you are writting your scripts and your code needs to have a variable in an array.

Each element in the array is the alphabet letter you can use, for examle you want to use the letter B, you would have to call it using the following code:


I hope this helps you with your code, i know it helps me all the time.


this is another way if you want UPPERCASE AND lowercase:


["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", "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"]