Re: [PHP] Searching and getting values out of array maps

2006-05-03 Thread T.Lensselink
> Hi all, > I'm kind of new with PHP. I work alot with another language called Lasso, > reminds kind of PHP but not the same. > I trying to search after a desired value within an array map (think you > call > it like that in PHP) and to get the value out as well. > > Is this possible in any way? Li

Re: [PHP] Searching and getting values out of array maps

2006-05-03 Thread Brad Bonkoski
Here's a stab... $colors = array("red"=>"#ff","gree"=>"#00ff00","blue"=>"#ff"); echo $colors["blue"]; should output #ff HTH -Brad Jonas Rosling wrote: Hi all, I'm kind of new with PHP. I work alot with another language called Lasso, reminds kind of PHP but not the same. I trying t