Date: 07/08/01
- Next message: mike cullerton: "Re: [PHP] Getting any possible value inside an array"
- Previous message: Mark Lo: "[PHP] passing variables from php to bash script.."
- Next in thread: mike cullerton: "Re: [PHP] Getting any possible value inside an array"
- Reply: mike cullerton: "Re: [PHP] Getting any possible value inside an array"
- Maybe reply: Aaron Bennett: "RE: [PHP] Getting any possible value inside an array"
- Reply: Mark Charette: "Re: [PHP] Getting any possible value inside an array"
- Maybe reply: Adrian Ciutureanu: "RE: [PHP] Getting any possible value inside an array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi everyone...
Does someone have a quick and dirty way of returning _any_ possible value
contained within an array?
For instance:
$myarray[0] = "red";
$myarray[1] = "red";
$myarray[2] = "red";
$myarray[3] = "blue";
$myarray[4] = "green";
$myarray[5] = "blue";
$myarray[6] = "red";
and i'd output "red", "blue" and "green", but not have multiple instances of
each.
Thanks in advance!
-- Aaron Bennett
- Next message: mike cullerton: "Re: [PHP] Getting any possible value inside an array"
- Previous message: Mark Lo: "[PHP] passing variables from php to bash script.."
- Next in thread: mike cullerton: "Re: [PHP] Getting any possible value inside an array"
- Reply: mike cullerton: "Re: [PHP] Getting any possible value inside an array"
- Maybe reply: Aaron Bennett: "RE: [PHP] Getting any possible value inside an array"
- Reply: Mark Charette: "Re: [PHP] Getting any possible value inside an array"
- Maybe reply: Adrian Ciutureanu: "RE: [PHP] Getting any possible value inside an array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

