Re: [PHP] Sorting getmxrr()

2002-07-16 Thread Analysis & Solutions
Hi Chris: On Tue, Jul 16, 2002 at 04:59:33AM +0200, Chris Knipe wrote: > > How can I manage to sort $DomainMX from the lowest $Weight to the highest, > while still preserving the proper $Weight to the $DomainMX? While I don't have experience with that function, have you taken a look at the var

[PHP] Sorting getmxrr()

2002-07-15 Thread Chris Knipe
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 prope