PHP Questions Home
Categories
Arrays
Files
Forms
Creating PDFs
PHP Errors
Functions
Images
MySQL
Numbers
Others
Strings
Website

PHP Forums
Forums Index
MySQL Forum
PHP Forum
Flash/Actionscript
Javascript
Web design

More PHP
PHP Functions
Top Questions
Ask a Question
PHP Interview Questions
PHP Jobs
Ecommerce
IT Questions
Business Websites

Sponsors

sponsor ad
My Salary
PHP Developer Salary
Advertise Here

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.



ASK A QUESTION

More arrays PHP Questions

How can I loop through the members of an array?

I have an array of numbers and many repeat, how to list all items in order of maximum occurence?

in .$array->description doesn't work "description" is suppose to stay black and turns colored and is ignored Why?

How do you remove duplicate values from an array?

How can I sort an array keeping the correlation between the index and value?



Custom Search