Forget it...
| From: | Per Christian | Date: | Sat, 22 Feb 2003 16:33:03 +0000 |
| Subject: | Forget it... | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-18672@lists.php.net to get a copy of this message | ||
Just forget it...
I figured it out myself
"Per Christian" <perchristian@myself.online.no> skrev i melding
news:20030222135608.7895.qmail@pb1.pair.com...
> Hi
>
> I'm building a PHP project for fun, and are going to get some dates from
my
> database (mysql).
> The problem is that I only want the year, but the date is in the format
> YYYY-MM-DD so I get the whole column and remove the -MM-DD part, but now I
> have a lot of the same year
> Is there a function or some code that removes duplicate entries from a
> array?
>
> Best Regards,
> Per Christian
>
>