array_unique()

|-----Original Message-----
|From: Per Christian [mailto:[EMAIL PROTECTED] 
|Sent: Saturday, February 22, 2003 7:56 AM
|To: [EMAIL PROTECTED]
|Subject: [PHP-WIN] Duplicate entry removal
|
|
|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
|
|
|
|-- 
|PHP Windows Mailing List (http://www.php.net/)
|To unsubscribe, visit: http://www.php.net/unsub.php
|
|
|



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to