|
Posted by Captain Paralytic on 07/27/07 13:30
On 27 Jul, 14:14, Webrickco <webric...@gmail.com> wrote:
> On Jul 27, 1:40 pm, Captain Paralytic <paul_laut...@yahoo.com> wrote:
>
> > Suppose I have the folowing:
>
> > $cst['created'] = 'date';
> > $cst['cc'] = 'text';
> > $cst['paid'] = '##.##';
> > $cst['registered'] = 'date';
>
> > Are there any neat ways to to get a simple array containing the
> > elements
> > 'date','text','##.##'
>
> Use array_unique function. you can find many info on php function inwww.php.net. Download the documentation or consult it online.
But there are just sooooo many array functions in php. I had the word
"distinct" in my head. Searching on unique didn't occur to me.
[Back to original message]
|