Re: Array questions...
| From: | Richard Lynch | Date: | Fri, 07 Mar 2008 15:44:17 +0000 |
| Subject: | Re: Array questions... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271132@lists.php.net to get a copy of this message | ||
On Wed, March 5, 2008 9:35 am, Robert Cummings wrote:
No textbook, but here's some advice...
Think of a variable like a house address for an actual house.
123 Maple Street
An array is just an apartment building:
125 Maple Street, Unit 1
125 Maple Street, Unit 2
125 Maple Street, Unit 3
.
.
.
When you want to talk about the whole array (building) you can use
just the street address.
If you want a specific unit, you have to add the [$unit] part.
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?