Sorting getmxrr()
| From: | Chris Knipe | Date: | Tue, 16 Jul 2002 02:59:33 +0000 |
| Subject: | Sorting getmxrr() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-107781@lists.php.net to get a copy of this message | ||
Lo all,
if (getmxrr($DomainPart, $DomainMX, $Weight)) {
for ($Counter = 0; $Counter < count($DomainMX); $Counter++) {
echo "$DomainMX[$Counter] ($Weight[$Counter]) ";
}
}
How can I manage to sort $DomainMX from the lowest $Weight to the highest,
while still preserving the proper $Weight to the $DomainMX?
Thankies :-)
--
me