PHP Questions Home

Categories

Arrays
Files
Forms
Functions
Images
MySQL
Numbers
Others
Strings
Website


PHP Functions

PHP Functions


More PHP

Top Questions
Ask a Question

How can I create an array of the letters of the alphabet?


This is done using the range operator which will create an array of the letters:

<?php
$letters 
range(a,z);
?>


This will give you an array from A to Z.



More arrays PHP Questions

How do I turn an array into a string?
How do I check if a variable is of array type?
How do you remove duplicate values from an array?
I want to invert my array, can I do this?
I am not interested in the values in the arrays, how can I discard them?