note 60367 added to function.array-unique
| From: | idefix at idefix dot ath dot cx | Date: | Wed, 04 Jan 2006 22:49:16 +0000 |
| Subject: | note 60367 added to function.array-unique | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-101228@lists.php.net to get a copy of this message | ||
in reply to memandeemail at gmail dot com:
imo it would be easier to do these things in your SQL statement.
ex.:
SELECT na1.FirstName, na1.LastName
FROM names na1, names na2
WHERE na1.FirstName = na2.FirstName
AND na1.LastName = na2.LastName
AND na1.id < na2.id;
----
Manual Page -- http://www.php.net/manual/en/function.array-unique.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+60367
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60367&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60367&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60367&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60367&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60367&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60367&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60367&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+60367&report=yes
Search -- http://master.php.net/manage/user-notes.php