Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs

Partner Sites
JustLinux.com
Linux Planet
PHPBuilder
Technology Jobs

Top White Papers

More on LinuxToday


Introduction to Arrays and Hashes in PHP - The ABC's of PHP Part 7

May 06, 2009, 00:01 (2 Talkback[s])
(Other stories by Peter Shaw)

"Cheese
Eggs
Milk
Bread

Now imagine that you had one variable to hold them all:

Shopping-list
Cheese
Eggs
Milk
Bread

And each item in the list, had an identifier linked with the one variable:

Shopping-list
0 = Cheese
1 = Eggs
2 = Milk
3 = Bread"

Complete Story

Related Stories: