You are here: Re: Select distinct from array « PHP Programming Language « IT news, forums, messages
Re: Select distinct from array

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация