RE: [PHP] How do I make an array like this?
| From: | Ted Knudson | Date: | Wed, 12 Jul 2000 05:19:29 +0000 |
| Subject: | RE: [PHP] How do I make an array like this? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6065@lists.php.net to get a copy of this message | ||
Fixed that problem but it still does not work
Ted Knudson
http://www.automatedcabinets.com
http://www.pulsarusa.com
> -----Original Message-----
> From: Hans H. Anderson [mailto:me@hansanderson.com]
> Sent: Tuesday, July 11, 2000 10:40 PM
> To: Ted Knudson
> Cc: shui@arlut.utexas.edu; php-general@lists.php.net
> Subject: RE: [PHP] How do I make an array like this?
>
>
>
> > List($key, $cost, $thickness) = split(",", $Lines[$i]);
> > Print $key." ".$cost." ".$thickness."<br>"; //Works
> > OK!
> > $WallCab[$Key] = array($cost, $thickness);
> > }
> > $Key = "Mel341";
> > //Print "<br>A ".$WallCab[$Key]."<br>"; //Does not work
> > Print "<br>B ".$WallCab[$Key][$cost]."<br>"; //Does not
> > work
>
> $Key != $key
>
> Hans Anderson ~ me@hansanderson.com
> PO Box 426, Missoula, MT 59806 | PHP, Search Engines, SQL
> (800)397-9116 / (406)549-6524 | Databases, Flash Multimedia,
> http://www.hansanderson.com | Killer Audio Production,
> http://www.goofiness.com | Minty Fresh Breath.
>
>