hi,
i want to sort messages in a sequence
the sequence is "23,12,25" (these are message nos)
now when i call like this
$nMsgSeq="23,12,25";
imap_fetch_overview($pIMAP,$nMsgSeq,0);
i get an array sorted like
Array
(
[0] => stdClass Object
(
.... [uid] => 21
[msgno] => 12
[recent] => 0
[flagged] => 0
[answered] => 0
[deleted] => 0
[seen] => 1
[draft] => 0
)
[1] => stdClass Object
(
[uid] => 34
[msgno] => 23
[recent] => 0
[flagged] => 0
[answered] => 0
[deleted] => 1
[seen] => 1
[draft] => 0
)
[2] => stdClass Object
(
[uid] => 36
[msgno] => 25
[recent] => 0
[flagged] => 0
[answered] => 0
[deleted] => 1
[seen] => 1
[draft] => 0
)
)
i want the array just like the sequence what should i do?
Friendship is always a sweet responsibility, never an opportunity.
HaSeEb IqBaL.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php